Commit 2d354803 authored by Jim Fulton's avatar Jim Fulton

Added logic to copy the retry count to the new request on a retry.

This is needed to prevent infinite retries on (unresolvable due to some
other software bug) conflict errors.
parent 5551dae8
......@@ -83,7 +83,7 @@
#
##############################################################################
__version__='$Revision: 1.31 $'[11:-2]
__version__='$Revision: 1.32 $'[11:-2]
import regex, sys, os, string
from string import lower, atoi, rfind, split, strip, join, upper, find
......@@ -182,6 +182,7 @@ class HTTPRequest(BaseRequest):
environ=self._orig_env,
response=self.response.retry()
)
r.retry_count=self.retry_count
return r
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment