hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <m...@filip.net>
Subject RE: turn off keep alive connections?
Date Thu, 17 Apr 2003 16:04:44 GMT
perfect, does exactly what I want

Filip

> -----Original Message-----
> From: Oleg Kalnichevski [mailto:o.kalnichevski@dplanet.ch]
> Sent: Thursday, April 17, 2003 8:53 AM
> To: Commons HttpClient Project
> Subject: Re: turn off keep alive connections?
> 
> 
> 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
> > 
> 
> 
> ---------------------------------------------------------------------
> 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