com php-src: reneg and should_close are not yet membe rs of sslsock. Removing...: ext/openssl/xp_ ssl.c

From: Date: Thu, 29 Jan 2015 03:36:41 +0000
Subject: com php-src: reneg and should_close are not yet membe rs of sslsock. Removing...: ext/openssl/xp_ ssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84755@lists.php.net to get a copy of this message
Commit: 1482ed2d5660c3875add40706a18fe29e2b3ff70 Author: Brad Broerman <bbroerman@bbroerman.net> Wed, 28 Jan 2015 22:36:41 -0500 Parents: fd4641696cc67fedf494717b5e4d452019f04d6f Branches: PHP-5.5 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1482ed2d5660c3875add40706a18fe29e2b3ff70 Log: reneg and should_close are not yet members of sslsock. Removing... Changed paths: M ext/openssl/xp_ssl.c Diff: diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 53c48be..842829f 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -242,15 +242,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz /* Now, do the IO operation. Don't block if we can't complete... */ if (read) { - nr_bytes = SSL_read(sslsock->ssl_handle, buf, count); - - if (sslsock->reneg && sslsock->reneg->should_close) { - /* renegotiation rate limiting triggered */ - php_stream_xport_shutdown(stream, (stream_shutdown_t)SHUT_RDWR); - nr_bytes = 0; - stream->eof = 1; - break; - } + nr_bytes = SSL_read(sslsock->ssl_handle, buf, count); } else { nr_bytes = SSL_write(sslsock->ssl_handle, buf, count); }

« previous php.cvs (#84755) next »