gvfs r2089 - in trunk: . daemon
- From: otte svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2089 - in trunk: . daemon
- Date: Mon, 17 Nov 2008 09:12:16 +0000 (UTC)
Author: otte
Date: Mon Nov 17 09:12:16 2008
New Revision: 2089
URL: http://svn.gnome.org/viewvc/gvfs?rev=2089&view=rev
Log:
* daemon/gvfsbackendftp.c: (ftp_connection_use):
Disable usage of "EPSV ALL". (fixes #547855). See in-source comment
for the reasons.
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendftp.c
Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c (original)
+++ trunk/daemon/gvfsbackendftp.c Mon Nov 17 09:12:16 2008
@@ -759,10 +759,22 @@
if (conn->features & FTP_FEATURE_UTF8)
ftp_connection_send (conn, 0, "OPTS UTF8 ON");
+#if 0
/* RFC 2428 suggests to send this to make NAT routers happy */
+ /* XXX: Disabled for the following reasons:
+ * - most ftp clients don't use it
+ * - lots of broken ftp servers can't see the difference between
+ * "EPSV" and "EPSV ALL"
+ * - impossible to dynamically fall back to regular PASV in case
+ * EPSV doesn't work for some reason.
+ * If this makes your ftp connection fail, please file a bug and we will
+ * try to invent a way to make this all work. Until then, we'll just
+ * ignore the RFC.
+ */
if (conn->features & FTP_FEATURE_EPSV)
ftp_connection_send (conn, 0, "EPSV ALL");
g_clear_error (&conn->error);
+#endif
if (ftp_connection_send (conn, 0, "SYST"))
ftp_connection_parse_system (conn);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]