Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238807 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-1.patch
squid-3.1.5-range-leak-fix-1.patch (text/plain), 1.51 KB, created by
kfm
on 2010-07-15 02:08:59 UTC
(
hide
)
Description:
squid-3.1.5-range-leak-fix-1.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2010-07-15 02:08:59 UTC
Size:
1.51 KB
patch
obsolete
>http://bugs.squid-cache.org/attachment.cgi?id=2166&action=diff > >Backported to squid-3.1.5 by Kerin Millar <kerframil@gmail.com> > >diff -urp squid-3.1.5.orig/src/HttpReply.cc squid-3.1.5/src/HttpReply.cc >--- squid-3.1.5.orig/src/HttpReply.cc 2010-07-15 00:40:43.562561668 +0400 >+++ squid-3.1.5/src/HttpReply.cc 2010-07-15 00:51:09.046799333 +0400 >@@ -607,6 +607,7 @@ HttpReply * > HttpReply::clone() const > { > HttpReply *rep = new HttpReply(); >+ rep->sline = sline; // used in hdrCacheInit() call above > rep->header.append(&header); > rep->hdrCacheInit(); > rep->hdr_sz = hdr_sz; >@@ -615,8 +616,7 @@ HttpReply::clone() const > rep->body_pipe = body_pipe; > > rep->protocol = protocol; >- rep->sline = sline; >- rep->keep_alive = keep_alive; >+ // keep_alive is handled in HttpMsg::hdrCacheInit() > return rep; > } > >diff -urp squid-3.1.5.orig/src/HttpRequest.cc squid-3.1.5/src/HttpRequest.cc >--- squid-3.1.5.orig/src/HttpRequest.cc 2010-07-02 06:47:30.000000000 +0400 >+++ squid-3.1.5/src/HttpRequest.cc 2010-07-15 00:45:21.755798990 +0400 >@@ -188,7 +188,7 @@ HttpRequest::clone() const > // urlPath handled in ctor > copy->canonical = canonical ? xstrdup(canonical) : NULL; > >- copy->range = range ? new HttpHdrRange(*range) : NULL; >+ // range handled in hdrCacheInit() > copy->ims = ims; > copy->imslen = imslen; > copy->max_forwards = max_forwards; >@@ -358,6 +358,7 @@ HttpRequest::hdrCacheInit() > { > HttpMsg::hdrCacheInit(); > >+ assert(!range); > range = header.getRange(); > } >
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