checkRetry is now guaranteed to return false for requests that checkRetriable
previously returned false. This prevents retries of requests with
non-idempotent methods, for example.
/*
- * $Id: forward.cc,v 1.173 2008/02/07 06:07:24 rousskov Exp $
+ * $Id: forward.cc,v 1.174 2008/02/07 18:22:23 rousskov Exp $
*
* DEBUG: section 17 Request Forwarding
* AUTHOR: Duane Wessels
if (flags.dont_retry)
return false;
+ if (!checkRetriable())
+ return false;
+
if (request->bodyNibbled())
return false;