mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
1 parent
b1f8e986bf
commit
7196ac8a07
3 files changed
+106
-2
No files matched your search
@@ -6956,7 +6956,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user