#32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
From: stotty at tvnet dot hu Date: Mon, 30 Jan 2006 08:41:29 +0000 Subject: #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-92616@lists.php.net to get a copy of this message
ID: 32979
Comment by: stotty at tvnet dot hu
Reported By: mjpph at stardust dot fi
Status: Assigned
Bug Type: Streams related
Operating System: Linux (Fedora Core 3)
PHP Version: 5CVS-2006-01-18 (dev)
Assigned To: wez
New Comment:
I've done some testing, and this bug is definitely triggered by 64 bit+
SSL support.
Bug triggers:
FC4 64 bit + PHP5.1.2 (configure --with-openssl)
FC4 64 bit + PHP 5.1Jan 29 snapshot (configure --with-openssl)
Bug does not trigger:
FC4 64 bit + PHP 5.1.2 (configure)
FC4 64 bit + PHP 5.1Jan29 snapshot (configure)
FC4 32 bit + PHP 5.1.2 (configure --with-openssl)
FC4 32 bit + PHP 5.0.4-10.5 (stock FC RPM)
Previous Comments:
------------------------------------------------------------------------
[2006-01-17 23:08:59] mjpph at stardust dot fi
Doesn't work with the php5.1-200601172130.tar.gz snapshot nor with
5.1.2.
------------------------------------------------------------------------
[2005-11-07 00:08:49] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-07-28 01:50:49] lew at mailduct dot com
wez -- the problems reported here are all due to a previously fixed bug
which has crept back into PHP. It has to do with how the PHP library
treats EOF under FreeBSD vs Linux.
You worked on this problem previously... please take a look at the
currently active Bug #32858 reported by me, as well as your prior fix
in Bug #25649.
Thanks....
Lew Payne
------------------------------------------------------------------------
[2005-05-30 22:11:28] mjpph at stardust dot fi
I haven't had problems with different kernels. Only the combination of
x86_64, stream_socket_client() or stream_socket_server(),
stream_select() and PHP OpenSSL-support seem to reproduce this every
time.
------------------------------------------------------------------------
[2005-05-30 21:57:34] fox dot 69 at gmx dot net
i experience a similar problem since the latest standard kernel update
with yum (host.domain.com point to the main server IP) :
<?
$url="http://host.domain.com";
$fp = fopen ($url,"r");
$buffer=fread($fp,8192);
fclose($fp);
echo $buffer;
?>
booted with kernel-2.6.11-1.14_FC3 package: OK
booted with kernel-2.6.11-1.27_FC3 package: NOT OK (timeout)
NOTE: but only if "host.domain.com" point to the executing host itself
- same with "localhost" - for all others it seem to be fine
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32979
--
Edit this bug report at http://bugs.php.net/?id=32979&edit=1
Thread (50 messages)
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn->Fbk]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [NoF->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Opn->Asn]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Com]: socket stream opened with stream_socket_client doesnt work with stream_select
- #32979 [Asn->Csd]: socket stream opened with stream_socket_client doesnt work with stream_select
| « previous | php.bugs (#92616) | next » |
|---|