httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r609886 - /httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c
Date Tue, 08 Jan 2008 06:32:21 GMT
Author: wrowe
Date: Mon Jan  7 22:32:20 2008
New Revision: 609886

URL: http://svn.apache.org/viewvc?rev=609886&view=rev
Log:
Correct a serious flaw; a host of behaviors are predicated on
a test that r->status remains OK.


Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c?rev=609886&r1=609885&r2=609886&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_protocol.c Mon Jan  7 22:32:20 2008
@@ -478,7 +478,7 @@
     r->read_length     = 0;
     r->read_body       = REQUEST_NO_BODY;
 
-    r->status          = HTTP_REQUEST_TIME_OUT;  /* Until we get a request */
+    r->status          = HTTP_OK;                /* Until we get a request */
     r->the_request     = NULL;
 
     /* Begin by presuming any module can make its own path_info assumptions,



Mime
View raw message