Commit a611e44f authored by Mark Andrews's avatar Mark Andrews
Browse files

4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534]

parent c8b6065d
4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534]
4518. [func] The "print-time" option in the logging configuration
can now take arguments "local", "iso8601" or
"iso8601-utc" to indicate the format in which the
......
......@@ -2515,14 +2515,16 @@ SocketIoThread(LPVOID ThreadContext) {
request = lpo->request_type;
errstatus = 0;
if (!bSuccess) {
if (!bSuccess)
errstatus = GetLastError();
else
errstatus = 0;
if (!bSuccess && errstatus != ERROR_MORE_DATA) {
isc_result_t isc_result;
/*
* Did the I/O operation complete?
*/
errstatus = GetLastError();
isc_result = isc__errno2result(errstatus);
LOCK(&sock->lock);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment