]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE7-half_closed_POST.patch
- updated to 2.5.STABLE13
[packages/squid.git] / squid-2.5.STABLE7-half_closed_POST.patch
1 Index: squid/src/client_side.c
2 diff -c squid/src/client_side.c:1.561.2.60 squid/src/client_side.c:1.561.2.61
3 *** squid/src/client_side.c:1.561.2.60  Tue Oct  5 16:34:42 2004
4 --- squid/src/client_side.c     Thu Oct 14 16:41:48 2004
5 ***************
6 *** 2882,2891 ****
7   }
8   
9   static int
10 ! clientReadDefer(int fdnotused, void *data)
11   {
12       ConnStateData *conn = data;
13 !     if (conn->body.size_left)
14         return conn->in.offset >= conn->in.size - 1;
15       else
16         return conn->defer.until > squid_curtime;
17 --- 2882,2892 ----
18   }
19   
20   static int
21 ! clientReadDefer(int fd, void *data)
22   {
23 +     fde *F = &fd_table[fd];
24       ConnStateData *conn = data;
25 !     if (conn->body.size_left && !F->flags.socket_eof)
26         return conn->in.offset >= conn->in.size - 1;
27       else
28         return conn->defer.until > squid_curtime;
This page took 0.086331 seconds and 3 git commands to generate.