squid/active-ftp.patch
Michal Luscon 1efb17f7ed Update to latest upstream version 3.3.9
Fixed #976815: file descriptors are hard coded to 16384
Fixed: active ftp crashing
Fixed: offset of patches
2013-09-13 12:39:09 +02:00

12 lines
445 B
Diff

--- ./src/ftp.cc 2013-04-30 06:47:06.000000000 +0200
+++ ./src/ftp.cc 2013-07-04 14:42:06.000000000 +0200
@@ -2555,7 +2555,7 @@
/** \par
* Checks for previous EPSV/PASV failures on this server/session.
* Diverts to EPRT immediately if they are not working. */
- if (!ftpState->flags.pasv_supported) {
+ if (!ftpState->flags.pasv_supported && Config.Ftp.passive) {
ftpSendEPRT(ftpState);
return;
}