]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE4-ftp_put.patch
- changed default pidfile location to /var/run/squid.pid (thnx to qboosh)
[packages/squid.git] / squid-2.5.STABLE4-ftp_put.patch
1 Index: squid/src/ftp.c
2 diff -c squid/src/ftp.c:1.316.2.10 squid/src/ftp.c:1.316.2.11
3 *** squid/src/ftp.c:1.316.2.10  Wed Jul 16 07:42:51 2003
4 --- squid/src/ftp.c     Sun Dec 14 05:12:07 2003
5 ***************
6 *** 2264,2269 ****
7 --- 2264,2271 ----
8   ftpDataWriteCallback(int fd, char *buf, size_t size, int err, void *data)
9   {
10       FtpStateData *ftpState = (FtpStateData *) data;
11 +     if (err == COMM_ERR_CLOSING)
12 +       return;
13       if (!err) {
14         /* Shedule the rest of the request */
15         clientReadBody(ftpState->request, ftpState->data.buf, ftpState->data.size, ftpRequestBody, ftpState);
This page took 0.027906 seconds and 3 git commands to generate.