Re: HTTP-Request connection alive.
| From: | Alexey Borzov | Date: | Wed, 25 Oct 2006 20:34:23 +0000 |
| Subject: | Re: HTTP-Request connection alive. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25639@lists.php.net to get a copy of this message | ||
Hi,
Atif Khan wrote:
$req =& new HTTP_Request; $req->addHeader("Connection: Keep-Alive"); Is this correct syntax to keep a persistent connection.No, the correct one is: $req->addHeader('Connection', 'Keep-Alive');