From: Dan Kalowsky Date: Tue, 13 Aug 2002 14:39:03 +0000 (+0000) Subject: Bug Fix #16113, as reflective of a php-dev convo between wez and iliaa X-Git-Tag: php-4.3.0dev_zend2_alpha3~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1027dfcdd15dc2a3d0cc394f647cdfbc96cb881d;p=php Bug Fix #16113, as reflective of a php-dev convo between wez and iliaa --- diff --git a/main/network.c b/main/network.c index a42f18e854..19bdc1b1ac 100644 --- a/main/network.c +++ b/main/network.c @@ -515,7 +515,7 @@ PHPAPI php_stream *_php_stream_sock_open_from_socket(int socket, int persistent sock->is_blocked = 1; sock->chunk_size = FG(def_chunk_size); - sock->timeout.tv_sec = -1; + sock->timeout.tv_sec = 60; sock->socket = socket; stream = php_stream_alloc_rel(&php_stream_socket_ops, sock, persistent, "r+");