From: William A. Rowe Jr Date: Fri, 16 Jan 2009 19:04:53 +0000 (+0000) Subject: two more never-used functions to redact from child.c X-Git-Tag: 2.3.2~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6426508c9eef1f9fff5494c2151bd4a79a1e78a;p=thirdparty%2Fapache%2Fhttpd.git two more never-used functions to redact from child.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@735088 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index f6d36330a8a..4c08b5fb8dc 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -231,50 +231,6 @@ static winnt_conn_ctx_t *mpm_get_completion_context(void) return context; } -static apr_status_t mpm_post_completion_context(winnt_conn_ctx_t *context, - io_state_e state) -{ - LPOVERLAPPED pOverlapped; - if (context) - pOverlapped = &context->overlapped; - else - pOverlapped = NULL; - - PostQueuedCompletionStatus(ThreadDispatchIOCP, 0, state, pOverlapped); - return APR_SUCCESS; -} - - -/* - * find_ready_listener() - * Only used by Win9* and should go away when the win9*_accept() function is - * reimplemented using apr_poll(). - */ -static ap_listen_rec *head_listener; - -static APR_INLINE ap_listen_rec *find_ready_listener(fd_set * main_fds) -{ - ap_listen_rec *lr; - SOCKET nsd; - - lr = head_listener; - do { - apr_os_sock_get(&nsd, lr->sd); - if (FD_ISSET(nsd, main_fds)) { - head_listener = lr->next; - if (!head_listener) { - head_listener = ap_listeners; - } - return lr; - } - lr = lr->next; - if (!lr) { - lr = ap_listeners; - } - } while (lr != head_listener); - return NULL; -} - /* Windows NT/2000 specific code... * Accept processing for on Windows NT uses a producer/consumer queue