Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238809 Details for
Bug 311927
net-proxy/squid-3.1.5 bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
squid-3.1.5-range-leak-fix-2.patch
squid-3.1.5-range-leak-fix-2.patch (text/plain), 793 bytes, created by
kfm
on 2010-07-15 02:09:25 UTC
(
hide
)
Description:
squid-3.1.5-range-leak-fix-2.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2010-07-15 02:09:25 UTC
Size:
793 bytes
patch
obsolete
>--- a/src/client_side_request.cc >+++ a/src/client_side_request.cc >@@ -830,6 +830,8 @@ clientInterpretRequestHeaders(ClientHttpRequest * http) > > /* ignore range header in non-GETs or non-HEADs */ > if (request->method == METHOD_GET || request->method == METHOD_HEAD) { >+ if (request->range) >+ delete request->range; > request->range = req_hdr->getRange(); > > if (request->range) { >@@ -854,7 +856,10 @@ clientInterpretRequestHeaders(ClientHttpRequest * http) > else { > req_hdr->delById(HDR_RANGE); > req_hdr->delById(HDR_REQUEST_RANGE); >- request->range = NULL; >+ if (request->range) { >+ delete request->range; >+ request->range = NULL; >+ } > } > > if (req_hdr->has(HDR_AUTHORIZATION))
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 311927
:
227901
|
227903
|
227905
|
227907
|
230083
|
231689
|
238797
|
238799
|
238801
|
238803
|
238805
|
238807
| 238809