You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by xuhongbo <xu...@tongtech.com> on 2008/02/28 04:11:24 UTC

Re: Re: network break down doesn't immediately cause Client request failure]

Thanks asankha to correct my mistake of unaware of how to subscribe the mail-list, and avoid the stupid action of re-send same mail;

But using time-out property of endpoint is still cannot solved the situation: the unrecoverable-io-exception has been detected by synapse transport, but the client still must wait for a time(defined in time-out property).

After checking the code, I found these things

1)synapse http transports can detected the some network exception immediately ,but it just shutdown connection and do nothing(in ClientHandler.java)

2)Yes, the synapse http transports does write the code to process the immediately detected exception (HttpCoreNIOSender.sessionRequestCallback).But when I testing by raise exception manually (etc. shutdown axisServer), only ClientHandler catched the io-exception, the SessionRequestCallback will never catch the io-exception.


So is it's the fault of synapse-transport? 
Or Synapselooks it as demand need not to be full-filled?
And maybe it's fault of http-core-nio



----- Original Message ----- 
From: Asankha C. Perera 
To: dev@synapse.apache.org ; xuhb@tongtech.com 
Sent: Wednesday, February 27, 2008 6:44 PM
Subject: [Fwd: Re: network break down doesn't immediately cause Client request failure]


Hi

You posted this same question to user@ mailing list, and I posted my reply there.. are you subscribed to our lists? else you may be able to post but you will not see any replies. 

So can you please ensure that you are subscribed to the lists

asankha

Re: network break down doesn't immediately cause Client request failure]

Posted by "Asankha C. Perera" <as...@wso2.com>.
Hi
> 1)synapse http transports can detected the some network exception immediately ,but it just shutdown connection and do nothing(in ClientHandler.java)
>
> 2)Yes, the synapse http transports does write the code to process the immediately detected exception (HttpCoreNIOSender.sessionRequestCallback).But when I testing by raise exception manually (etc. shutdown axisServer), only ClientHandler catched the io-exception, the SessionRequestCallback will never catch the io-exception.
>
>
> So is it's the fault of synapse-transport? 
> Or Synapselooks it as demand need not to be full-filled?
> And maybe it's fault of http-core-nio
>   
I think the issue is with the Synapse NIO transport code,.. now that the
JIRA is raised, I will look into this as soon as I get some time

asankha

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