Skip to content

http_version::from_string argument is now std::string #681

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Release/src/http/listener/http_server_asio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ will_deref_and_erase_t asio_server_connection::handle_http_line(const boost::sys
std::string http_version = http_path_and_version.substr(http_path_and_version.size() - VersionPortionSize + 1, VersionPortionSize - 2);

auto m_request_impl = m_request._get_impl().get();
web::http::http_version parsed_version = web::http::http_version::from_string(utility::conversions::to_string_t(http_version));
web::http::http_version parsed_version = web::http::http_version::from_string(http_version);
m_request_impl->_set_http_version(parsed_version);

// if HTTP version is 1.0 then disable pipelining
Expand Down