]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE4-ftp_put.patch
- ...and CAN-2005-0096
[packages/squid.git] / squid-2.5.STABLE4-ftp_put.patch
CommitLineData
684396e0
AM
1Index: squid/src/ftp.c
2diff -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.08297 seconds and 4 git commands to generate.