Skip to content
Snippets Groups Projects

Fixed issue #33

Open Maria Kleppestø Mcculloch requested to merge mariakmc/buggy-web-server:master into master
1 file
+ 9
4
Compare changes
  • Side-by-side
  • Inline
+ 9
4
@@ -762,10 +762,15 @@ namespace SimpleWeb {
return;
}
}
if(std::stof(response->session->request->http_version) >= 1.1) {
auto new_session = std::make_shared<Session>(this->config.max_request_streambuf_size, response->session->connection);
this->read(new_session);
return;
try{
if(std::stof(response->session->request->http_version) >= 1.1) {
auto new_session = std::make_shared<Session>(this->config.max_request_streambuf_size, response->session->connection);
this->read(new_session);
return;
}
}catch(const std::exception &){
}
}
else if(this->on_error)
Loading