httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/server connection.c
Date Tue, 02 Jan 2001 17:12:11 GMT
rbb         01/01/02 09:12:11

  Modified:    server   connection.c
  Log:
  Simplify the lingering close logic a bit.  Doesn't actually change
  anything, this just removes a duplicate call to ap_flush_conn.
  
  Revision  Changes    Path
  1.67      +3 -5      httpd-2.0/server/connection.c
  
  Index: connection.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/connection.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- connection.c	2000/12/14 18:47:29	1.66
  +++ connection.c	2001/01/02 17:12:09	1.67
  @@ -171,15 +171,13 @@
        * client has ACKed our FIN and/or has stopped sending us data.
        */
   
  +    /* Send any leftover data to the client, but never try to again */
  +    ap_flush_conn(c);
  +
       if (c->aborted) {
  -        ap_flush_conn(c);
           apr_close_socket(c->client_socket);
           return;
       }
  -
  -    /* Send any leftover data to the client, but never try to again */
  -
  -    ap_flush_conn(c);
   
       /* Shut down the socket for write, which will send a FIN
        * to the peer.
  
  
  

Mime
View raw message