diff options
Diffstat (limited to 'urlgrabber/grabber.py')
-rw-r--r-- | urlgrabber/grabber.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py index 04f1179..f8deeb8 100644 --- a/urlgrabber/grabber.py +++ b/urlgrabber/grabber.py @@ -1517,7 +1517,7 @@ class PyCurlFileObject(object): err.url = errurl raise err - elif errcode == 42: + elif errcode in (42, 55, 56): # this is probably wrong but ultimately this is what happens # we have a legit http code and a pycurl 'writer failed' code # which almost always means something aborted it from outside |