mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Fix #2315
This commit is contained in:
1 parent
385adefb11
commit
7ae794a6bf
2 files changed
+27
No files matched your search
@@ -9646,6 +9646,10 @@ Server::process_request(Stream &strm, const std::string &remote_addr,
|
||||
|
||||
Request req;
|
||||
req.start_time_ = std::chrono::steady_clock::now();
|
||||
req.remote_addr = remote_addr;
|
||||
req.remote_port = remote_port;
|
||||
req.local_addr = local_addr;
|
||||
req.local_port = local_port;
|
||||
|
||||
Response res;
|
||||
res.version = "HTTP/1.1";
|
||||
|
||||
Reference in new issue
Block a user