Rick Hill wrote:

> how to re-use the connection for the HTTP requests, if the subsequent HTTP
> request has the same host as the previous HTTP request. I assume that the
> subsequent HTTP does not have to make a new connection again since the
> previou connection is still "kept-alive", as defined in the HTTP header.
> 
> any help will be appreciated.
> 
> 
There is a preference which enabled keep-alive's

boolean     network.http.keep-alive
boolean     network.http.proxy.keep-alive
integer       network.http.keep-alive.timeout
integer       network.http.keep-alive.max-connections

With keep-alive enabled, HTTP will reuse connections automatically.

Darin


Reply via email to