aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-21 12:56:12 +0200
committerStefan Boberg <[email protected]>2021-09-21 12:56:12 +0200
commit0e0e2aa5dfb76b60f52fb1245fdc414763ad74b6 (patch)
treea2bda5e7a9fa567495d939f9d9f9d18324bc8513 /zenhttp/httpsys.cpp
parentFixed an issue in scrubbing which would flag certain chunks as invalid (diff)
downloadzen-0e0e2aa5dfb76b60f52fb1245fdc414763ad74b6.tar.xz
zen-0e0e2aa5dfb76b60f52fb1245fdc414763ad74b6.zip
Added human-friendly formatting of response send errors
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index 7ce970d15..cc56b484f 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -553,7 +553,7 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode)
CancelThreadpoolIo(Iocp);
- ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: {}", SendResult, HttpReq->pRawUrl);
+ ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}'", GetWindowsErrorAsString(SendResult), HttpReq->pRawUrl);
ErrorCode = MakeWin32ErrorCode(SendResult);
}