]> granicus.if.org Git - apache/commitdiff
Get rid of a bit more BUFF cruft in mpm_winnt.c
authorBill Stoddard <stoddard@apache.org>
Fri, 17 Nov 2000 17:11:07 +0000 (17:11 +0000)
committerBill Stoddard <stoddard@apache.org>
Fri, 17 Nov 2000 17:11:07 +0000 (17:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86993 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 870abddae8915f4b26504af67d8f841e1766ce38..f1e278200720a476319ff2afdd388d6b366c654c 100644 (file)
@@ -790,8 +790,6 @@ static PCOMP_CONTEXT win9x_get_connection(PCOMP_CONTEXT context)
             memset(&context->sa_client, '\0', sizeof(context->sa_client));
         }
 
-        context->conn_io = ap_bcreate(context->ptrans, B_RDWR);
-
         /* do we NEED_DUPPED_CSD ?? */
         
         return context;
@@ -883,7 +881,6 @@ static int create_acceptex_context(apr_pool_t *_pconf, ap_listen_rec *lr)
     }
 
     apr_create_pool(&context->ptrans, _pconf);
-    context->conn_io = ap_bcreate(context->ptrans, B_RDWR);
 
     /* recv_buf must be large enough to hold the remote and local
      * addresses. Note that recv_buf_size is the amount of recv_buf
@@ -922,7 +919,6 @@ static apr_inline apr_status_t reset_acceptex_context(PCOMP_CONTEXT context)
     /* reset the buffer pools */
     apr_clear_pool(context->ptrans);
     context->sock = NULL;
-    context->conn_io = ap_bcreate(context->ptrans, B_RDWR);
 
     /* recreate and initialize the accept socket if it is not being reused */
     apr_get_os_sock(&nsd, context->lr->sd);
@@ -1092,7 +1088,6 @@ static PCOMP_CONTEXT winnt_get_connection(PCOMP_CONTEXT context)
     }
 
     /* Received a connection */
-    context->conn_io->incnt = BytesRead;
     GetAcceptExSockaddrs(context->recv_buf, 
                          context->recv_buf_size,
                          PADDED_ADDR_SIZE,