diff options
| author | Stefan Boberg <[email protected]> | 2021-09-21 12:56:12 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-21 12:56:12 +0200 |
| commit | 0e0e2aa5dfb76b60f52fb1245fdc414763ad74b6 (patch) | |
| tree | a2bda5e7a9fa567495d939f9d9f9d18324bc8513 /zenhttp/httpsys.cpp | |
| parent | Fixed an issue in scrubbing which would flag certain chunks as invalid (diff) | |
| download | zen-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.cpp | 2 |
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); } |