Skip to content

Commit

Permalink
Bump server version to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
The-EDev committed Jun 5, 2021
1 parent 426926c commit fc27f73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = Crow
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 0.2
PROJECT_NUMBER = 0.3

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
4 changes: 2 additions & 2 deletions include/crow/app.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace crow
return *this;
}

///Set the server name (default Crow/0.2)
///Set the server name (default Crow/0.3)
self_t& server_name(std::string server_name)
{
server_name_ = server_name;
Expand Down Expand Up @@ -360,7 +360,7 @@ namespace crow
private:
uint16_t port_ = 80;
uint16_t concurrency_ = 1;
std::string server_name_ = "Crow/0.2";
std::string server_name_ = "Crow/0.3";
std::string bindaddr_ = "0.0.0.0";
Router router_;

Expand Down
2 changes: 1 addition & 1 deletion include/crow/http_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace crow
class Server
{
public:
Server(Handler* handler, std::string bindaddr, uint16_t port, std::string server_name = "Crow/0.2", std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr)
Server(Handler* handler, std::string bindaddr, uint16_t port, std::string server_name = "Crow/0.3", std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr)
: acceptor_(io_service_, tcp::endpoint(boost::asio::ip::address::from_string(bindaddr), port)),
signals_(io_service_, SIGINT, SIGTERM),
tick_timer_(io_service_),
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crow-examples",
"version": "0.2",
"version": "0.3",
"dependencies": [
{
"name": "boost-array",
Expand Down

0 comments on commit fc27f73

Please sign in to comment.