Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1447327 Details for
Bug 1585596
urlgrabber truncate the local file wrongly in receiving "HTTP/1.0 200 Connection established" from a proxy
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch to check "200 OK" exactly
python-urlgrabber-bz1585596-avold-truncate-with-200-connection-established.patch (text/plain), 695 bytes, created by
Masahiro Matsuya
on 2018-06-04 07:55:16 UTC
(
hide
)
Description:
proposed patch to check "200 OK" exactly
Filename:
MIME Type:
Creator:
Masahiro Matsuya
Created:
2018-06-04 07:55:16 UTC
Size:
695 bytes
patch
obsolete
>diff -up ./grabber.py.original ./grabber.py >--- ./grabber.py.original 2018-06-01 18:10:29.662604539 +0900 >+++ ./grabber.py 2018-06-04 16:48:08.323348297 +0900 >@@ -1338,7 +1338,7 @@ class PyCurlFileObject(object): > if buf.lower().find('content-length:') != -1: > length = buf.split(':')[1] > self.size = int(length) >- elif self.append and self._hdr_dump == '' and ' 200 ' in buf: >+ elif self.append and self._hdr_dump == '' and ' 200 OK' in buf: > # reget was attempted but server sends it all > # undo what we did in _build_range() > self.append = False
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1585596
: 1447327