-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replaced 0.3 with master in master branch #156
Conversation
this is to more accurately distinguish where a crow build is coming from (it used to be the latest release, which is not the best idea)
@@ -120,7 +120,7 @@ namespace crow | |||
return *this; | |||
} | |||
|
|||
///Set the server name (default Crow/0.3) | |||
///Set the server name (default Crow/master) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that you can remove info about default value. Or change to something like Crow/<VERSION>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, I just changed every 0.3
to master without looking much.
@@ -360,7 +360,7 @@ namespace crow | |||
private: | |||
uint16_t port_ = 80; | |||
uint16_t concurrency_ = 1; | |||
std::string server_name_ = "Crow/0.3"; | |||
std::string server_name_ = "Crow/master"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe create new header with some constexpr VERSION_STRING
and use it here and in http_server.h
. And then change this version from master
to appropriate in cmake script on deploy
/package
target? I could prepare something like this maybe tomorrow if you want :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds great
replaced with #162 |
This is to more accurately distinguish where a crow build is coming from (it used to be the latest release, which is not the best idea)
It's worth mentioning that the changes here need to be made for each release