Bug #60719 [Opn->Fbk]: dev-lang/php-5.3.9 has problems with stream_get_line()

From: Date: Wed, 11 Jan 2012 22:41:32 +0000
Subject: Bug #60719 [Opn->Fbk]: dev-lang/php-5.3.9 has problems with stream_get_line()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-166376@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60719&edit=1

 ID:                 60719
 Updated by:         cataphract@php.net
 Reported by:        alexander dot haensch at gmail dot com
 Summary:            dev-lang/php-5.3.9 has problems with
                     stream_get_line()
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Streams related
 Operating System:   gentoo
 PHP Version:        5.3.9
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-01-11 22:41:19] cataphract@php.net

There's a change in 5.3.9 in stream_get_line that may be causing your problems, but to
understand if it's a bug in PHP, we'd need a short reproducible script (or a pair of
scripts in this case).

Thanks.

------------------------------------------------------------------------
[2012-01-11 18:31:42] alexander dot haensch at gmail dot com

Description:
------------
It looks like that the new php version has a problem with talking to beanstalkd
on a local socket.
example:
$packet = stream_get_line($this->_connection, 16384, "\r\n");

https://github.com/davidpersson/beanstalk/blob/master/src/Socket/Beanstalk.php#L190

Expected result:
----------------
operation should finish in below 1second

Actual result:
--------------
needs about 1 minute to complete


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



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


Thread (11 messages)

« previous php.bugs (#166376) next »