]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fwdReforward() needs to check pumpRestart() for PUMP methods
authorwessels <>
Wed, 30 Dec 1998 05:51:11 +0000 (05:51 +0000)
committerwessels <>
Wed, 30 Dec 1998 05:51:11 +0000 (05:51 +0000)
src/forward.cc

index 2788c96bf9c521bbc2a3f1a8a08a8154ddb0add9..5e3114d11dd0e36305ece5541a90b6de2e0e14f8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: forward.cc,v 1.39 1998/12/16 06:25:11 wessels Exp $
+ * $Id: forward.cc,v 1.40 1998/12/29 22:51:11 wessels Exp $
  *
  * DEBUG: section 17    Request Forwarding
  * AUTHOR: Duane Wessels
@@ -344,6 +344,9 @@ fwdReforward(FwdState * fwdState)
     }
     if (fwdState->n_tries > 9)
        return 0;
+    if (pumpMethod(fwdState->request->method))
+       if (0 == pumpRestart(fwdState->request))
+           return 0;
     assert(fs);
     fwdState->servers = fs->next;
     fwdServerFree(fs);