mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Merge branch 'fix-100-continue' of github.com:solarispika/cpp-httplib into solarispika-fix-100-continue
This commit is contained in:
commit
ee4eb8deaa
3 changed files with 106 additions and 2 deletions
|
@ -6975,7 +6975,9 @@ Server::process_request(Stream &strm, bool close_connection,
|
|||
strm.write_format("HTTP/1.1 %d %s\r\n\r\n", status,
|
||||
status_message(status));
|
||||
break;
|
||||
default: return write_response(strm, close_connection, req, res);
|
||||
default:
|
||||
connection_closed = true;
|
||||
return write_response(strm, true, req, res);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue