Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27983 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15352 invoked by uid 1010); 10 Feb 2007 14:04:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15337 invoked from network); 10 Feb 2007 14:04:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2007 14:04:57 -0000 Authentication-Results: pb1.pair.com header.from=kingwez@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kingwez@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kingwez@gmail.com X-Host-Fingerprint: 64.233.182.191 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.191] ([64.233.182.191:3267] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/70-06763-901DDC54 for ; Sat, 10 Feb 2007 09:04:57 -0500 Received: by nf-out-0910.google.com with SMTP id l35so1611038nfa for ; Sat, 10 Feb 2007 06:04:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=siBP5EN/H6ra3ypZ4uyx51DmXPRalTre2tVt9+rBSImp8Fl/CyCjdsd3bL2LozTZPrjm4yCzbLc/r5avn29PsovZcEMoB2ThtFPu9FapXHPVb/4XtZUJq7x/eIhU3+49nA2P0GUjKFmbPUAHg7atV26nUCstFzGvlZAF/WuyPyw= Received: by 10.82.186.5 with SMTP id j5mr6354820buf.1171116294378; Sat, 10 Feb 2007 06:04:54 -0800 (PST) Received: by 10.82.167.13 with HTTP; Sat, 10 Feb 2007 06:04:54 -0800 (PST) Message-ID: <4e89b4260702100604v77955573o63eb416d87b01ad2@mail.gmail.com> Date: Sat, 10 Feb 2007 09:04:54 -0500 To: Maurice Cc: internals@lists.php.net In-Reply-To: <45CB2D6E.1020804@iceblog.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45CB2D6E.1020804@iceblog.de> Subject: Re: [PHP-DEV] Moving Socket extension to PECL From: kingwez@gmail.com ("Wez Furlong") On 2/8/07, Maurice 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.