hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o.kalnichev...@dplanet.ch>
Subject Re: turn off keep alive connections?
Date Thu, 17 Apr 2003 15:52:46 GMT
Filip,

Use HTTP/1.0

HttpClient client = new HttpClient()
GetMethod httpget = new GetMethod("http://whatever.com/");
httpget.setHttp11(false);

Hipe this helps

Oleg

On Thu, 2003-04-17 at 17:38, Filip Hanik wrote:
> is there a way I can turn off keep alive connections?
> I want the http client to connect up with a new connection each time.
> thanks
> Filip
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


Mime
View raw message