You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1998/10/09 18:22:40 UTC
Re: Segmentation faults :(
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