diff options
author | Bill Stoddard <stoddard@apache.org> | 2001-03-12 17:29:02 +0000 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2001-03-12 17:29:02 +0000 |
commit | 9692f107c12995a00e00b4486f4c45311cae49f7 (patch) | |
tree | 4c3cc6ad589c89984f6d6d0c2ab72388b4461886 /include/ap_listen.h | |
parent | 0108291673ab89bd2765828744f12cbccf361773 (diff) | |
download | httpd-9692f107c12995a00e00b4486f4c45311cae49f7.tar.gz |
*) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
DuplicateHandle on an IOCompletionPort (a practice which
MS "discourages"). The new model does not rely on associating
the completion port with the listening sockets, thus the
completion port can be completely managed within the child
process. A dedicated thread accepts connections off the network,
then calls PostQueuedCompletionStatus() to wake up worker
threads blocked on the completion port.
[Bill Stoddard]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88498 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_listen.h')
-rw-r--r-- | include/ap_listen.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/ap_listen.h b/include/ap_listen.h index 9a02a7b22a..fa9318f3d8 100644 --- a/include/ap_listen.h +++ b/include/ap_listen.h @@ -87,13 +87,6 @@ struct ap_listen_rec { * Is this socket currently active */ int active; -#ifdef WIN32 - /** - * Windows only. The number of completion ports currently listening to - * this socket - */ - int count; -#endif /* more stuff here, like which protocol is bound to the port */ }; @@ -106,7 +99,7 @@ extern ap_listen_rec *ap_listeners; * Setup all of the defaults for the listener list */ void ap_listen_pre_config(void); -#if !defined(WIN32) && !defined(SPMT_OS2_MPM) +#if !defined(SPMT_OS2_MPM) /** * Loop through the global ap_listen_rec list and create all of the required * sockets. This executes the listen and bind on the sockets. @@ -119,7 +112,7 @@ int ap_setup_listeners(server_rec *s); #endif /* Split into two #if's to make the exports scripts easier. */ -#if defined(WIN32) || defined(SPMT_OS2_MPM) +#if defined(SPMT_OS2_MPM) /** * Create and open a socket on the specified port. This includes listening * and binding the socket. |