]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE11.accel_single_host_pconn.patch
- added six patches from squids site
[packages/squid.git] / squid-2.5.STABLE11.accel_single_host_pconn.patch
CommitLineData
6453a087 1Index: squid/src/http.c
2diff -c squid/src/http.c:1.384.2.32 squid/src/http.c:1.384.2.33
3*** squid/src/http.c:1.384.2.32 Sat Sep 10 19:49:54 2005
4--- squid/src/http.c Wed Sep 28 14:48:19 2005
5***************
6*** 738,744 ****
7 #endif
8 comm_remove_close_handler(fd, httpStateFree, httpState);
9 fwdUnregister(fd, httpState->fwd);
10! pconnPush(fd, request->host, request->port);
11 fwdComplete(httpState->fwd);
12 httpState->fd = -1;
13 httpStateFree(fd, httpState);
14--- 738,747 ----
15 #endif
16 comm_remove_close_handler(fd, httpStateFree, httpState);
17 fwdUnregister(fd, httpState->fwd);
18! if (request->flags.accelerated && Config.Accel.single_host && Config.Accel.host)
19! pconnPush(fd, Config.Accel.host, Config.Accel.port);
20! else
21! pconnPush(fd, request->host, request->port);
22 fwdComplete(httpState->fwd);
23 httpState->fd = -1;
24 httpStateFree(fd, httpState);
This page took 0.031978 seconds and 4 git commands to generate.