Re: PHP and Connection: Close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon Anderson wrote:
It seems to work okay, except that at the TCP level, the client
keeps initiating new connections for every soap request rather
than using a single connection for multiple requests. One
possible reason for this is that the server sends a "Connection:
close" HTTP header after the first request.

That's definitely the reason. The server includes such a header when it intends to close the TCP connection after sending the response.

I've been trying to find a way to control this from PHP (or
Apache) - anyone know a way around that kind of thing?

Check the KeepAlive configuration directive in httpd.conf.

Hope that helps.

Chris

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux