httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r793976 - in /httpd/mod_ftp/trunk/modules/ftp: ftp_protocol.h remake_ftp_protocol
Date Tue, 14 Jul 2009 17:02:38 GMT
Author: wrowe
Date: Tue Jul 14 17:02:38 2009
New Revision: 793976

URL: http://svn.apache.org/viewvc?rev=793976&view=rev
Log:
Accomodate FEAT registrations when determining ftp_request_types

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.h
    httpd/mod_ftp/trunk/modules/ftp/remake_ftp_protocol

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.h
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.h?rev=793976&r1=793975&r2=793976&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.h (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.h Tue Jul 14 17:02:38 2009
@@ -6,7 +6,7 @@
  * another gmake (or a make ftp_protocol.h)
  *
  * Generated from ../.. on 
- * Mon Jun  1 12:20:41 2009
+ * Tue Jul 14 17:00:30 2009
  */
 
 
@@ -15,8 +15,8 @@
 const int ftp_response_types[] = {
     110, 120, 125, 150, 200, 202, 211, 212, 213, 214, 215, 220, 221, 225, 226, 227, 229,
230, 232, 234, 250, 257, 331, 332, 350, 421, 425, 426, 450, 451, 452, 500, 501, 502, 503,
504, 522, 530, 532, 536, 550, 551, 552, 553, 0 }; 
 
-#define WWW_MIB_TOTAL_FTP_REQUESTS 48
+#define WWW_MIB_TOTAL_FTP_REQUESTS 43
 
 const char *ftp_request_types[] ={
-    "CWD", "MKD", "PWD", "RMD", "ABOR", "ACCT", "ALLO", "APPE", "AUTH", "CDUP", "DELE", "EPRT",
"EPSV", "FEAT", "HELP", "LIST", "LPRT", "LPSV", "MAIL", "MDTM", "MLFL", "MODE", "MSAM", "MSND",
"MSOM", "NLST", "NOOP", "PASS", "PASV", "PBSZ", "PORT", "PROT", "QUIT", "REIN", "REST", "RETR",
"RNFR", "RNTO", "SITE", "SIZE", "SMNT", "STAT", "STOR", "STOU", "STRU", "SYST", "TYPE", "USER",
NULL };
+    "CWD", "MKD", "PWD", "RMD", "ABOR", "ACCT", "ALLO", "APPE", "AUTH", "CDUP", "DELE", "EPRT",
"EPSV", "FEAT", "HELP", "LIST", "MDTM", "MODE", "NLST", "NOOP", "PASS", "PASV", "PBSZ", "PORT",
"PROT", "QUIT", "REIN", "REST", "RETR", "RNFR", "RNTO", "SITE", "SIZE", "SMNT", "STAT", "STOR",
"STOU", "STRU", "SYST", "TYPE", "USER", NULL };
 

Modified: httpd/mod_ftp/trunk/modules/ftp/remake_ftp_protocol
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/remake_ftp_protocol?rev=793976&r1=793975&r2=793976&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/remake_ftp_protocol (original)
+++ httpd/mod_ftp/trunk/modules/ftp/remake_ftp_protocol Tue Jul 14 17:02:38 2009
@@ -40,6 +40,7 @@
 		s/\s*ftp_hook_cmd\(\"//g;
 		s/\"(.+)//g;
 		chop;
+		next if index($_, ' ') > 0;
 		push (@resp, $_);
 	};
 };



Mime
View raw message