]>
Commit | Line | Data |
---|---|---|
089a66e5 | 1 | --------------------- |
2 | PatchSet 10612 | |
3 | Date: 2006/06/02 22:00:34 | |
4 | Author: hno | |
5 | Branch: SQUID_2_5 | |
6 | Tag: (none) | |
7 | Log: | |
8 | Bug #1606: assertion failed: HttpReply.c:105: "rep" | |
9 | ||
10 | The patch for Bug #1511 "Some 206 responses logged incorrectly" was slightly | |
11 | broken and could cause the above assert. | |
12 | ||
13 | Members: | |
14 | src/client_side.c:1.561.2.96->1.561.2.97 | |
15 | ||
16 | Index: squid/src/client_side.c | |
17 | =================================================================== | |
18 | RCS file: /cvsroot/squid/squid/src/client_side.c,v | |
19 | retrieving revision 1.561.2.96 | |
20 | retrieving revision 1.561.2.97 | |
21 | diff -u -r1.561.2.96 -r1.561.2.97 | |
22 | --- squid/src/client_side.c 10 Mar 2006 22:58:35 -0000 1.561.2.96 | |
23 | +++ squid/src/client_side.c 2 Jun 2006 22:00:34 -0000 1.561.2.97 | |
24 | @@ -2031,8 +2031,6 @@ | |
25 | http->entry = clientCreateStoreEntry(http, http->request->method, | |
26 | null_request_flags); | |
27 | errorAppendEntry(http->entry, err); | |
28 | - httpReplyDestroy(http->reply); | |
29 | - http->reply = NULL; | |
30 | memFree(buf, MEM_CLIENT_SOCK_BUF); | |
31 | return; | |
32 | } | |
33 | @@ -2067,8 +2065,6 @@ | |
34 | http->entry = clientCreateStoreEntry(http, http->request->method, | |
35 | null_request_flags); | |
36 | errorAppendEntry(http->entry, err); | |
37 | - httpReplyDestroy(http->reply); | |
38 | - http->reply = NULL; | |
39 | memFree(buf, MEM_CLIENT_SOCK_BUF); | |
40 | return; | |
41 | } |