[Bug 1162999] Re: stream_get_line() incorrectly blocks

Robie Basak 1162999 at bugs.launchpad.net
Tue Apr 2 08:23:42 UTC 2013


Before this bug can be considered for 12.04, it must first be fixed in
the development version.

Using the test case provided in the upstream bug, with the development
release (5.4.9-4ubuntu2), I'm getting:

server got line: test #1
server got line: test2
server got line: test3
server got line: test4
server got line: 
client done
server got line: 
server done

This seems to be consistent, but there is a long hang after the first
four lines before the rest of the result appears and the program exits.

On precise-security (5.3.10-1ubuntu3.6), I get:

server got line: test #1
client done
server got line: test2
server got line: test3
server got line: test4
server done

This is also consistent. This time I get a long hang before any output,
and then the entire result appears and the program exits.

These results do not appear to be consistent with the actual and
expected test case results in the upstream bug. Could you help with
this, please? Am I interpreting this wrong? Is the bug fixed in the
development version? Can you provide an updated test case, expected
results and actual results that work with the released Ubuntu packages?

** Changed in: php5 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1162999

Title:
  stream_get_line() incorrectly blocks

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1162999/+subscriptions



More information about the Ubuntu-server-bugs mailing list