note 66903 added to function.socket-set-timeout

From: Date: Wed, 31 May 2006 20:28:46 +0000
Subject: note 66903 added to function.socket-set-timeout
Groups: php.notes 
Request: Send a blank email to php-notes+get-112677@lists.php.net to get a copy of this message
a script of mine hung in fgets and fread when reading a http head request - that was in one of many servers it did connect to. as it turned out, adding "Connection: Close\r\n" to to the request, it went smooth. ---- Server IP: 192.35.244.50 Probable Submitter: 213.47.196.156 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.socket-set-timeout.php Edit -- http://master.php.net/note/edit/66903 Del: integrated -- http://master.php.net/note/delete/66903/integrated Del: useless -- http://master.php.net/note/delete/66903/useless Del: bad code -- http://master.php.net/note/delete/66903/bad+code Del: spam -- http://master.php.net/note/delete/66903/spam Del: non-english -- http://master.php.net/note/delete/66903/non-english Del: in docs -- http://master.php.net/note/delete/66903/in+docs Del: other reasons-- http://master.php.net/note/delete/66903 Reject -- http://master.php.net/note/reject/66903 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112677) next »