hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpClient 4, I/O exception and
Date Fri, 06 Jun 2008 14:44:38 GMT
On Fri, 2008-06-06 at 16:36 +0200, Martin Zdila wrote:
> > > It would be nice if HttpClient could detect it somehow if it is possible.
> >
> > It would also be great if HttpClient could walk my dog
> this would be fancy feature but with no real use. i think you should rather 
> decide for detecting connection state :-).

Once again, you would not listen. This is a frigging _fundamental_
problem with the blocking I/O in Java. This is one of the bloody reasons
Sun came up with NIO (which turned out to have a whole bunch of issues
of its own)



> > This is what I recommend you do: close idle connections more
> > aggressively, for instance, after 5 seconds of inactivity. This will
> > reduce the change of idle connections being closed on the server without
> > the client-side noticing.
> i'll try to find out how other proxies cope with that.
> thanks for support

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message