php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51879
Patch add-tcp-nodelay revision 2011-02-17 20:45 UTC by seld@php.net
revision 2011-02-17 20:27 UTC by seld@php.net
revision 2011-02-17 19:08 UTC by seld@php.net
revision 2011-02-17 18:44 UTC by seld@php.net

Patch add-tcp-nodelay for Streams related Bug #51879

Patch version 2011-02-17 18:44 UTC

Return to Bug #51879 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions: 2011-02-17 20:45 UTC | 2011-02-17 20:27 UTC | 2011-02-17 19:08 UTC | 2011-02-17 18:44 UTC

Developer: seld@php.net

Line 23 (now 23), was 16 lines, now 4 lines

  +			(flags & PHP_STREAM_CLIENT_TCP_NODELAY ? TCP_NODELAY : 0),
   			hashkey, &tv, context, &errstr, &err);
   
   
 Index: ext/standard/streamsfuncs.h
 ===================================================================
 --- ext/standard/streamsfuncs.h	(revision 308439)
 +++ ext/standard/streamsfuncs.h	(working copy)
 @@ -22,6 +22,7 @@
  #define PHP_STREAM_CLIENT_PERSISTENT	1
  #define PHP_STREAM_CLIENT_ASYNC_CONNECT	2
  #define PHP_STREAM_CLIENT_CONNECT		4
 +#define PHP_STREAM_CLIENT_NO_DELAY	8
  
  PHP_FUNCTION(stream_socket_client);
  PHP_FUNCTION(stream_socket_server);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC