]> granicus.if.org Git - php/commitdiff
Bug Fix #16113, as reflective of a php-dev convo between wez and iliaa
authorDan Kalowsky <kalowsky@php.net>
Tue, 13 Aug 2002 14:39:03 +0000 (14:39 +0000)
committerDan Kalowsky <kalowsky@php.net>
Tue, 13 Aug 2002 14:39:03 +0000 (14:39 +0000)
main/network.c

index a42f18e8544867b8e2f097bcc68f3b2685ad10c4..19bdc1b1ac53225f8905234751d431462afc9d2b 100644 (file)
@@ -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+");