Req #51879 [Asn->Csd]: Add the ability to set the TCP_NODELAY flag for socket streams
| From: | krakjoe@php.net | Date: | Fri, 29 Apr 2016 12:03:54 +0000 |
| Subject: | Req #51879 [Asn->Csd]: Add the ability to set the TCP_NODELAY flag for socket streams | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200827@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51879&edit=1
ID: 51879
Updated by: krakjoe@php.net
Reported by: suppakilla at gmail dot com
Summary: Add the ability to set the TCP_NODELAY flag for
socket streams
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Streams related
Operating System: *
PHP Version: Irrelevant
Assigned To: johannes
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
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/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
The stream context socket option tcp_nodelay => true will set SOL_TCP,NO_DELAY=1 appropriately.
Will be in 7.1
Previous Comments:
------------------------------------------------------------------------
[2013-06-10 21:15:14] yunosh@php.net
Bump
------------------------------------------------------------------------
[2011-02-17 21:45:03] seld@php.net
The following patch has been added/updated:
Patch Name: add-tcp-nodelay
Revision: 1297975503
URL: http://bugs.php.net/patch-display.php?bug=51879&patch=add-tcp-nodelay&revision=1297975503
------------------------------------------------------------------------
[2011-02-17 21:27:11] seld@php.net
The following patch has been added/updated:
Patch Name: add-tcp-nodelay
Revision: 1297974430
URL: http://bugs.php.net/patch-display.php?bug=51879&patch=add-tcp-nodelay&revision=1297974430
------------------------------------------------------------------------
[2011-02-17 20:11:23] seld@php.net
So the attached patch should be good now, as you (johannes) said TCP_NODELAY is used without ifdef
[1] already so it should be fine to use it as is.
Now if I could have php-src karma to commit it myself it'd make my day, but I guess that's
not good enough :)
[1] http://lxr.php.net/opengrok/xref/PHP_5_3/ext/mysqlnd/mysqlnd_net.c#50
------------------------------------------------------------------------
[2011-02-17 20:08:25] seld@php.net
The following patch has been added/updated:
Patch Name: add-tcp-nodelay
Revision: 1297969705
URL: http://bugs.php.net/patch-display.php?bug=51879&patch=add-tcp-nodelay&revision=1297969705
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=51879
--
Edit this bug report at https://bugs.php.net/bug.php?id=51879&edit=1