mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 07:30:02 -04:00
4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534]
(cherry picked from commit a611e44f9a)
This commit is contained in:
parent
b84d0d5e17
commit
cd62059c76
2 changed files with 7 additions and 3 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534]
|
||||
|
||||
4516. [bug] isc_socketmgr_renderjson was missing from the
|
||||
windows build. [RT #43602]
|
||||
|
||||
|
|
|
|||
|
|
@ -2489,14 +2489,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue