pollita Mon Aug 25 18:26:38 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard ftp_fopen_wrapper.c Log: MFH(r-1.61) Bugfix#25239 Closing control stream while data stream is open violates RFC959 section 2.3 Index: php-src/ext/standard/ftp_fopen_wrapper.c diff -u php-src/ext/standard/ftp_fopen_wrapper.c:1.38.2.5 php-src/ext/standard/ftp_fopen_wrapper.c:1.38.2.6 --- php-src/ext/standard/ftp_fopen_wrapper.c:1.38.2.5 Fri Jun 27 12:42:51 2003 +++ php-src/ext/standard/ftp_fopen_wrapper.c Mon Aug 25 18:26:37 2003 @@ -17,7 +17,7 @@ | Hartmut Holzgraefe <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: ftp_fopen_wrapper.c,v 1.38.2.5 2003/06/27 16:42:51 sniper Exp $ */ +/* $Id: ftp_fopen_wrapper.c,v 1.38.2.6 2003/08/25 22:26:37 pollita Exp $ */ #include "php.h" #include "php_globals.h" @@ -422,13 +422,6 @@ php_stream_close(datastream); datastream = NULL; goto errexit; - } - - /* close control connection if not in ssl mode */ - if (!use_ssl) { - php_stream_write_string(stream, "QUIT\r\n"); - php_stream_close(stream); - stream = NULL; } php_stream_context_set(datastream, context);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php