gvfs r2096 - in trunk: . daemon



Author: otte
Date: Mon Nov 17 11:40:44 2008
New Revision: 2096
URL: http://svn.gnome.org/viewvc/gvfs?rev=2096&view=rev

Log:
* daemon/gvfsbackendftp.c:
document what the workarounds do


Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendftp.c

Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c	(original)
+++ trunk/daemon/gvfsbackendftp.c	Mon Nov 17 11:40:44 2008
@@ -109,8 +109,15 @@
 } FtpSystem;
 
 typedef enum {
+  /* Server advertises support for EPSV (or we assume that it supports it),
+   * but it does fail to do so, we set this flag so we can fall back to 
+   * PASV. */
   FTP_WORKAROUND_BROKEN_EPSV = (1 << 0),
+  /* Server replies with a wrong address in PASV, we use connection IP 
+   * instead */
   FTP_WORKAROUND_PASV_ADDR = (1 << 1),
+  /* server does not allow querying features before login, so we try after
+   * logging in instead. */
   FTP_WORKAROUND_FEAT_AFTER_LOGIN = (1 << 2),
 } FtpWorkarounds;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]