Skip to content
Snippets Groups Projects
Commit 11f6344e authored by Michael Mellemseter's avatar Michael Mellemseter
Browse files

Updated server_http.hpp

parent 260755ec
No related branches found
No related tags found
No related merge requests found
...@@ -762,7 +762,7 @@ namespace SimpleWeb { ...@@ -762,7 +762,7 @@ namespace SimpleWeb {
return; return;
} }
} }
if(std::stof(response->session->request->http_version) >= 1.1) { if(response->session->request->http_version >= "1.1") {
auto new_session = std::make_shared<Session>(this->config.max_request_streambuf_size, response->session->connection); auto new_session = std::make_shared<Session>(this->config.max_request_streambuf_size, response->session->connection);
this->read(new_session); this->read(new_session);
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment