You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/01/02 18:12:11 UTC
cvs commit: httpd-2.0/server connection.c
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.