]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE7-blank_response.patch
- unifications
[packages/squid.git] / squid-2.5.STABLE7-blank_response.patch
1 Index: squid/src/HttpReply.c
2 diff -c squid/src/HttpReply.c:1.49.2.2 squid/src/HttpReply.c:1.49.2.3
3 *** squid/src/HttpReply.c:1.49.2.2      Tue Oct  5 15:31:25 2004
4 --- squid/src/HttpReply.c       Sun Nov  7 08:26:59 2004
5 ***************
6 *** 452,458 ****
7   int
8   httpReplyBodySize(method_t method, HttpReply * reply)
9   {
10 !     if (METHOD_HEAD == method)
11         return 0;
12       else if (reply->sline.status == HTTP_OK)
13         (void) 0;               /* common case, continue */
14 --- 452,460 ----
15   int
16   httpReplyBodySize(method_t method, HttpReply * reply)
17   {
18 !     if (reply->sline.version.major < 1)
19 !       return -1;
20 !     else if (METHOD_HEAD == method)
21         return 0;
22       else if (reply->sline.status == HTTP_OK)
23         (void) 0;               /* common case, continue */
This page took 0.025285 seconds and 3 git commands to generate.