[wp-trac] [WordPress Trac] #10522: timeout for ftp connections as a constant in config.php

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 31 20:52:17 UTC 2009


#10522: timeout for ftp connections as a constant in config.php
--------------------------+-------------------------------------------------
 Reporter:  ntm           |       Owner:  dd32                                   
     Type:  defect (bug)  |      Status:  new                                    
 Priority:  normal        |   Milestone:  2.9                                    
Component:  Filesystem    |     Version:  2.8.2                                  
 Severity:  normal        |    Keywords:  ftp connection timeout, plugin upgrade,
--------------------------+-------------------------------------------------

Comment(by ntm):

 I have tested a little bit more for the changed patch and have discovered
 that 15 seconds for the timeout are not emough (in my case). So I set the
 default timeout value to 30 seconds in the new patch.
 Furthermore i can precise my report: the ftp_login process needs more than
 5 seconds. (ftp_connect has needed considerably less than second in every
 trial.)

 Further i have supplemented the login section of the
 [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/class-wp-
 filesystem-ftpext.php class-wp-filesystem-ftpext.php] file with a
 suggestion for a further error message which is more precise if the time
 between the start and the end of the login process is longer than the
 timeout value.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10522#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list