httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: Segmentation faults :(
Date Fri, 09 Oct 1998 16:22:40 GMT
Found the bug.  Thanks for the trace, I wouldn't have found it otherwise.

....Roy

Index: modules/proxy/proxy_util.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v
retrieving revision 1.70
diff -u -r1.70 proxy_util.c
--- proxy_util.c	1998/08/31 19:51:59	1.70
+++ proxy_util.c	1998/10/09 16:21:14
@@ -581,7 +581,7 @@
                 ap_reset_timeout(r);
 
             if (w <= 0) {
-                if (c != NULL) {
+                if (c != NULL && c->fp != NULL) {
                     /* when a send failure occurs, we need to decide
                      * whether to continue loading and caching the
                      * document, or to abort the whole thing

Mime
View raw message