]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Win32: Fix some bugs in the restart logic. This is still rather adhoc. A more rigoro...
authorBill Stoddard <stoddard@apache.org>
Wed, 3 May 2000 16:28:04 +0000 (16:28 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 3 May 2000 16:28:04 +0000 (16:28 +0000)
commit3512abd7b42d9abb65f5f01eca043cf82c262b5a
tree664132bd3a8fe7a7a81dc02b0ac1b86221309e5f
parent9452b0d2a6789f1deacca8041731550fb1c95043
Win32: Fix some bugs in the restart logic.  This is still rather adhoc. A more rigorous solution
is to maintain a list of overlapped io structures in the child_main control thread
and use HasOverLappedIoCompleted() to manage the connections and pending io.

We must resort to maintaining a list of pending io (i.e. overlapped structures) should
we ever begin using AcceptEx to receive data. Why? We need to be able to detect when
a connection is received but no data is being sent over that connection. There is a
Win32 function (whose name I forget at the moment) to handle this. Why can't Win32
just timeout the connection using setopt??? It would make life so much easier if AcceptEx
just returned TIMEOUT in this condition rather than requiring the application to
explicitly poll the socket to see if data is available.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85131 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/winnt/mpm_winnt.c