Author: hawk Date: Mon Jun 19 10:40:07 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix for assertion failed: HttpReply.c:105: "rep"
---- Files affected: SOURCES: squid-2.5.STABLE14-httpReplyDestroy.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/squid-2.5.STABLE14-httpReplyDestroy.patch diff -u /dev/null SOURCES/squid-2.5.STABLE14-httpReplyDestroy.patch:1.1 --- /dev/null Mon Jun 19 12:40:07 2006 +++ SOURCES/squid-2.5.STABLE14-httpReplyDestroy.patch Mon Jun 19 12:40:02 2006 @@ -0,0 +1,41 @@ +--------------------- +PatchSet 10612 +Date: 2006/06/02 22:00:34 +Author: hno +Branch: SQUID_2_5 +Tag: (none) +Log: +Bug #1606: assertion failed: HttpReply.c:105: "rep" + +The patch for Bug #1511 "Some 206 responses logged incorrectly" was slightly +broken and could cause the above assert. + +Members: + src/client_side.c:1.561.2.96->1.561.2.97 + +Index: squid/src/client_side.c +=================================================================== +RCS file: /cvsroot/squid/squid/src/client_side.c,v +retrieving revision 1.561.2.96 +retrieving revision 1.561.2.97 +diff -u -r1.561.2.96 -r1.561.2.97 +--- squid/src/client_side.c 10 Mar 2006 22:58:35 -0000 1.561.2.96 ++++ squid/src/client_side.c 2 Jun 2006 22:00:34 -0000 1.561.2.97 +@@ -2031,8 +2031,6 @@ + http->entry = clientCreateStoreEntry(http, http->request->method, + null_request_flags); + errorAppendEntry(http->entry, err); +- httpReplyDestroy(http->reply); +- http->reply = NULL; + memFree(buf, MEM_CLIENT_SOCK_BUF); + return; + } +@@ -2067,8 +2065,6 @@ + http->entry = clientCreateStoreEntry(http, http->request->method, + null_request_flags); + errorAppendEntry(http->entry, err); +- httpReplyDestroy(http->reply); +- http->reply = NULL; + memFree(buf, MEM_CLIENT_SOCK_BUF); + return; + } ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
