note 50439 added to function.fsockopen
| From: | JMPZ at osu1 dot php dot net | Date: | Mon, 28 Feb 2005 17:04:41 +0000 |
| Subject: | note 50439 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85678@lists.php.net to get a copy of this message | ||
I had a similar problem to a previous poster with terrible performance. I tried changing to HTTP 1.0
but that didn't fix it. I then removed the line:
connection: keep-alive
This fixed it. What took 13 seconds now takes 1.
----
Manual Page -- http://www.php.net/manual/en/function.fsockopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50439
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50439&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50439&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50439&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50439&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50439&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50439&report=yes
Search -- http://master.php.net/manage/user-notes.php