PHP 5.5.9 Default socket timeout being not honoured by application
Bug #1481289 reported by
Phil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Triaged
|
Low
|
Unassigned |
Bug Description
Hello,
There exists in PHP 5.5.9-1ubuntu4.11, a known bug, https:/
PHP allows a socket timeout to set which is not honoured in code execution. This is business critical for the system I work on.
The timeout is set with a single line of code:
ini_set(
A patch exists that can be applied to non fixed PHP versions.
Can the patch, found here: https:/
Thank you,
tags: | added: bitesize |
tags: | added: server-next |
Changed in php5 (Ubuntu): | |
assignee: | nobody → Ryan Harper (raharper) |
tags: | removed: server-next |
To post a comment you must log in.
Hello,
The referenced patch:
https:/ /bugs.php. net/patch- display. php?bug_ id=41631& patch=bug41631. patch&revision= latest
Does not apply against 5.5.9-1ubuntu4.11 source. Further, from the bug referenced it doesn't appear that patch specified was the final solution committed to source.
The most recent comment in the bug suggests that 3 commits were needed and applied to 5.5
This has been addressed (we believe once and for all) in upstream 5.5/5.6/master branches. Thanks to bbroerman for the associated patches.
http:// git.php. net/?p= php-src. git;a=commitdif f;h=fd4641696cc 67fedf494717b5e 4d452019f04d6f git.php. net/?p= php-src. git;a=commitdif f;h=1482ed2d566 0c3875add40706a 18fe29e2b3ff70 git.php. net/?p= php-src. git;a=commitdif f;h=dddbe0fc338 a0f01ba336e8475 5694fb9bfbeb53
http://
http://
These are commits further along in php 5.5 series, 5.5.23ish, so these patches don't cleanly apply either. /wiki.ubuntu. com/StableRelea seUpdates/ MicroReleaseExc eptions) as there isn't one in place for php.
I'm a bit wary about backporting these three safely into 5.5.9 and I don't think we can push newer 5.5.X without a Micro Release Exception (https:/
The development release (wily) is running 5.6 which has these fixes already included from trunk.