hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: isHttp11 and HTTP/1.0 servers
Date Thu, 16 Jan 2003 09:04:43 GMT
There's no design flaw. I was wrong. There's one connection manager per client
Oleg
PS: HttpClient *should* be thread safe. The question is how thoroughly we have tested it

-----Original Message-----
From: Ortwin Gl├╝ck [mailto:ortwin.glueck@nose.ch]
Sent: Thursday, January 16, 2003 10:01 AM
To: Commons HttpClient Project
Subject: Re: isHttp11 and HTTP/1.0 servers


Kalnichevski, Oleg wrote:
> Well, the trouble here is that in most cases the consumer of the
> HttpClient should not mess around with the pool of connections, as
> the same connection can be reused by different instances of the
> HTTPClient class (please correct me if I err). The sole purpose of
> the HttpClient is to abstract the end user from the complexity of
> having to deal with connections. That is why I would rather see HTTP
> version flag within HttpClient scope. But, of course, there are
> different ways of seeing things
> 
> Oleg

Possible design flaw:
ConnectionManagers should not be shared among HttpClient instances. But 
the HttpClient should rather be thread safe (is it at the moment?).


--
To unsubscribe, e-mail:   <mailto:commons-httpclient-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-httpclient-dev-help@jakarta.apache.org>


Mime
View raw message