On 2/8/07, Maurice <[EMAIL PROTECTED]> wrote:
In my first tests I also included support for streams (using stream_select) in order to support SSL/TLS enabled connections. However, the SSL transport layer in the Stream "extension" is totally screwed up if you use asynchronous socket streams.
That's the first I've heard about this; I've been using it in this fashion successfully for some time.
That's why I started extending the socket extension with socket_ssl_* functions that use the openssl extension (and thus are only available if PHP is compiled with openssl support). I will provide a patch for that once it's complete and out of beta status.
The problem with ext/sockets is that it is old, unmaintained, buggy, and is not tied into the streams layer.
Anyway, the Stream-SSL part has to be fixed _before_ moving the socket extension to PECL.
The first step is opening a bug report with details on how to reproduce the problems that you've hinted at: http://bugs.php.net --Wez. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php