Re: HTTP-Request connection alive.

From: Date: Thu, 26 Oct 2006 16:24:33 +0000
Subject: Re: HTTP-Request connection alive.
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25651@lists.php.net to get a copy of this message
How long does it maintains persistent connection. Thanks Atif Alexey Borzov wrote:
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');


« previous php.pear.general (#25651) next »