#40750 [Asn->Csd]: fsockopen timeout parameter overwrites timeout for reading

From: Date: Wed, 14 Mar 2007 19:22:20 +0000
Subject: #40750 [Asn->Csd]: fsockopen timeout parameter overwrites timeout for reading
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110350@lists.php.net to get a copy of this message
 ID:               40750
 Updated by:       tony2001@php.net
 Reported By:      andreas dot rieber at 2e-systems dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Network related
 Operating System: OpenSuse, Ubuntu, Redhat
 PHP Version:      5.2.1
 Assigned To:      tony2001
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2007-03-12 18:12:34] judas dot iscariote at gmail dot com

YUp, I confirm our code start to work again when openssl extension is
not loaded.

------------------------------------------------------------------------

[2007-03-12 15:16:55] tony2001@php.net

Ok, that helped.
I have a patch, but I need to discuss it with the extension maintainer
first.

------------------------------------------------------------------------

[2007-03-12 14:32:44] andreas dot rieber at 2e-systems dot com

OK, openssl is causing the problem. So

./configure --with-openssl

will do it.

------------------------------------------------------------------------

[2007-03-12 13:15:57] tony2001@php.net

Remove all the configure options not related to the problem and figure
out what is the minimal list of options required to reproduce it.
Try with PHP CLI, with --enable-debug etc.
I still have no idea how to replicate it so far.

------------------------------------------------------------------------

[2007-03-12 12:59:35] andreas dot rieber at 2e-systems dot com

Now tested also redhat with same problem.

There is nothing special done:
tar xvzf php-5.2.1.tar.gz
cd php-5.2.1
./configure --enable-track-vars --with-mysql=/usr/local/mysql
--enable-trans-sid --with-apxs2=/usr/local/apache2/bin/apxs
--with-mcrypt --with-zlib-dir=/usr/lib/ --with-gd --enable-exif
--enable-soap --with-openssl --with-xmlrpc --enable-sockets
make

thats it...

------------------------------------------------------------------------

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/40750

-- 
Edit this bug report at http://bugs.php.net/?id=40750&edit=1


Thread (15 messages)

« previous php.bugs (#110350) next »