randy 97/01/12 12:38:14
Modified: src http_main.c
Log:
Check another return value and do a bit more error logging in
lingering_close().
Reviewed by: Chuck Murcko
Revision Changes Path
1.106 +2 -1 apache/src/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_main.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -C3 -r1.105 -r1.106
*** http_main.c 1997/01/10 18:47:36 1.105
--- http_main.c 1997/01/12 20:38:12 1.106
***************
*** 319,325 ****
/* Close our half of the connection --- send client a FIN */
! shutdown (sd, 1);
/* Set up to wait for readable data on socket... */
--- 319,326 ----
/* Close our half of the connection --- send client a FIN */
! if ((shutdown (sd, 1)) != 0)
! log_unixerr("shutdown", NULL, "lingering_close", server_conf);
/* Set up to wait for readable data on socket... */