/*
- * $Id: ftp.cc,v 1.123 1997/06/18 01:43:42 wessels Exp $
+ * $Id: ftp.cc,v 1.124 1997/06/18 04:04:13 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
}
ftpState->ctrl.fd = fd;
comm_add_close_handler(fd, ftpStateFree, ftpState);
+ storeRegisterAbort(entry, ftpAbort, ftpState);
commSetTimeout(fd, Config.Timeout.connect, ftpTimeout, ftpState);
commConnectStart(ftpState->ctrl.fd,
request->host,
ftpState->data.buf = xmalloc(SQUID_TCP_SO_RCVBUF);
ftpState->data.size = SQUID_TCP_SO_RCVBUF;
ftpState->data.freefunc = xfree;
- storeRegisterAbort(ftpState->entry, ftpAbort, ftpState);
commSetSelect(fd, COMM_SELECT_READ, ftpReadControlReply, ftpState, 0);
}
/*
- * $Id: http.cc,v 1.172 1997/06/18 01:43:44 wessels Exp $
+ * $Id: http.cc,v 1.173 1997/06/18 04:04:14 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
if (opt_no_ipcache)
ipcacheInvalidate(request->host);
fd_note(fd, entry->url);
- storeRegisterAbort(entry, httpAbort, httpState);
commSetSelect(fd, COMM_SELECT_WRITE, httpSendRequest, httpState, 0);
}
}
comm_add_close_handler(httpState->fd,
httpStateFree,
httpState);
+ storeRegisterAbort(entry, httpAbort, httpState);
commSetTimeout(fd, Config.Timeout.connect, httpTimeout, httpState);
commConnectStart(httpState->fd,
request->host,