]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1758310 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 6 Sep 2016 17:36:14 +0000 (17:36 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 6 Sep 2016 17:36:14 +0000 (17:36 +0000)
commitf0fdfc57a7a031bc084d4207c8a83e27e528807d
treeaba303a10df1adc8ffb13d1765275d8fd71df0fe
parent4fb56317e5a64fe4f20c8ba82c7d13734cf5c94a
Merge r1758310 from trunk:

mpm_winnt: clear OVERLAPPED structs before reuse

MSDN documentation states that

    Any unused members of [an OVERLAPPED] structure should always be
    initialized to zero before the structure is used in a function call.
    Otherwise, the function may fail and return ERROR_INVALID_PARAMETER.

Prior to this patch, the internal state left over from previous
overlapped I/O was passed into the next call. It's unclear what effect
this might have, if any. (I have not personally witnessed an
ERROR_INVALID_PARAMETER myself.)
Submitted by: jchampion
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1759470 13f79535-47bb-0310-9956-ffa450edef68
STATUS
server/mpm/winnt/child.c