wez Wed Oct 8 07:23:47 2003 EDT
Modified files:
/php-src/ext/openssl xp_ssl.c
Log:
And this EOF flag...
Index: php-src/ext/openssl/xp_ssl.c
diff -u php-src/ext/openssl/xp_ssl.c:1.9 php-src/ext/openssl/xp_ssl.c:1.10
--- php-src/ext/openssl/xp_ssl.c:1.9 Sun Sep 21 14:02:07 2003
+++ php-src/ext/openssl/xp_ssl.c Wed Oct 8 07:23:46 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xp_ssl.c,v 1.9 2003/09/21 18:02:07 wez Exp $ */
+/* $Id: xp_ssl.c,v 1.10 2003/10/08 11:23:46 wez Exp $ */
#include "php.h"
#include "ext/standard/file.h"
@@ -165,9 +165,8 @@
if (nr_bytes <= 0) {
retry = handle_ssl_error(stream, nr_bytes TSRMLS_CC);
- if (retry == 0 && !SSL_pending(sslsock->ssl_handle)) {
- stream->eof = 1;
- }
+ stream->eof = (retry == 0 &&
!SSL_pending(sslsock->ssl_handle));
+
} else {
/* we got the data */
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php