hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: When a client closes the connection following exception is thrown
Date Fri, 03 Dec 2010 16:58:51 GMT
On Fri, Dec 3, 2010 at 9:56 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Fri, 2010-12-03 at 21:40 +0530, Supun Kamburugamuva wrote:
> > It is HttpConnection#shutdown(). But the problem is this exception
> happens
> > before I call this method.
> >
> > Thanks,
> > Supun..
> >
>
> In this case one should shut down the connection immediately after
> catching the I/O exception.
>
> Hi Oleg,

Thanks for the quick response.

So is this the expected behavior in case a client closes a connection in the
middle of a message read?

Thanks,
Supun..


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


-- 
Technical Lead, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message