From fc27f73f84967ffc1140cfd106dcab35bc8bca9e Mon Sep 17 00:00:00 2001 From: The-EDev Date: Sat, 5 Jun 2021 06:30:01 +0300 Subject: [PATCH] Bump server version to 0.3 --- Doxyfile | 2 +- include/crow/app.h | 4 ++-- include/crow/http_server.h | 2 +- vcpkg.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Doxyfile b/Doxyfile index 482de5e1d..7f6538f5d 100644 --- a/Doxyfile +++ b/Doxyfile @@ -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 diff --git a/include/crow/app.h b/include/crow/app.h index 0003209fc..1c9f03e7a 100644 --- a/include/crow/app.h +++ b/include/crow/app.h @@ -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; @@ -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_; diff --git a/include/crow/http_server.h b/include/crow/http_server.h index de2c5aab7..3e3a65a51 100644 --- a/include/crow/http_server.h +++ b/include/crow/http_server.h @@ -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 = 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 = 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_), diff --git a/vcpkg.json b/vcpkg.json index 913990de5..e9bfcd371 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "crow-examples", - "version": "0.2", + "version": "0.3", "dependencies": [ { "name": "boost-array",