#32979 [Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
From: mjpph at stardust dot fi Date: Mon, 30 May 2005 20:11:28 +0000 Subject: #32979 [Opn]: 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-79721@lists.php.net to get a copy of this message
ID: 32979
User updated by: mjpph at stardust dot fi
Reported By: mjpph at stardust dot fi
Status: Open
Bug Type: Network related
Operating System: Linux (Fedora Core 3)
PHP Version: 5CVS-2005-05-08 (dev)
Assigned To: wez
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2005-05-30 16:58:42] mjpph at stardust dot fi
Also trying to compile valgrind on x86_64 results in:
checking for a supported CPU... no (x86_64)
configure: error: Unsupported host architecture. Sorry
------------------------------------------------------------------------
[2005-05-30 16:56:03] mjpph at stardust dot fi
I could, but I get this:
valgrind: Can only handle 32-bit executables
On a 32bit executable and with openssl stream_select() worked ok. On a
64bit PHP executable it doesn't.
------------------------------------------------------------------------
[2005-05-30 16:33:24] sniper@php.net
Can you now check it with valgrind, please?
------------------------------------------------------------------------
[2005-05-30 15:53:58] mjpph at stardust dot fi
Ok the latest snapshot compiled cleanly on x86_64. The stream_select()
bug is still present in the latest snapshot.
------------------------------------------------------------------------
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 (#79721) | next » |
|---|