httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r794460 - /httpd/mod_ftp/trunk/include/mod_ftp.h
Date Wed, 15 Jul 2009 23:42:12 GMT
Author: wrowe
Date: Wed Jul 15 23:42:12 2009
New Revision: 794460

URL: http://svn.apache.org/viewvc?rev=794460&view=rev
Log:
Add FTP_EXTENSIBLE cmd flag

Modified:
    httpd/mod_ftp/trunk/include/mod_ftp.h

Modified: httpd/mod_ftp/trunk/include/mod_ftp.h
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/include/mod_ftp.h?rev=794460&r1=794459&r2=794460&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/include/mod_ftp.h (original)
+++ httpd/mod_ftp/trunk/include/mod_ftp.h Wed Jul 15 23:42:12 2009
@@ -211,19 +211,20 @@
  * FTP_TAKE1 - This command takes a single argument.
  * FTP_NEED_LOGIN - The user needs to be logged in to execute this command.
  * FTP_DATA_INTR - The current data transfer is interrupted by this command.
- * FTP_NEW_FEAT - This command was introduced following RFC 2389, show in FEAT list
- *                Register a NULL hook function for extended names with spaces
- *                E.g. register "AUTH" with a hook function, and also register 
- *                "AUTH TLS" as the specific FTP_NEW_FEAT with a NULL hook function.
+ * FTP_NEW_FEAT - This command was introduced following RFC 2389, show in FEAT list.
+ *                Also see comments for ftp_feat_advert() below.
  * FTP_NO_HELP - Implicit if the command key contains a space, this flag omits 
  *               a given FTP command from the HELP listing.
+ * FTP_EXTENSIBLE - Upon all cmd handlers declining, reply is COMMAND_NOT_IMPL_PARAM
+ *                  rather than COMMAND_NOT_IMPLEMENTED
  */
 #define FTP_TAKE0            (1 << 0)
 #define FTP_TAKE1            (1 << 1)
-#define FTP_NEED_LOGIN       (1 << 2)
-#define FTP_DATA_INTR        (1 << 3)
-#define FTP_NEW_FEAT         (1 << 4)
-#define FTP_NO_HELP          (1 << 5)
+#define FTP_NEED_LOGIN       (1 << 5)
+#define FTP_DATA_INTR        (1 << 6)
+#define FTP_NEW_FEAT         (1 << 7)
+#define FTP_NO_HELP          (1 << 8)
+#define FTP_EXTENSIBLE       (1 << 9)
 
 /* FTP command handler ordering */
 #define FTP_HOOK_FIRST  10



Mime
View raw message