--- src/modules/proxy/proxy_util.c.orig	Mon Aug 31 14:51:59 1998
+++ src/modules/proxy/proxy_util.c	Thu Oct 15 16:46:55 1998
@@ -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
