Page 1 of 1

why disconnect on error: RcfError_ClientReadTimeout?

Posted: Tue Oct 14, 2014 7:04 am
by mou
When a server-side computaion takes long time that exceeds the given timeout of the client, RcfError_ClientReadTimeout error will be raised.
I think in that scenario, we can resuse a the existing TCP connection.
But, why does RCF disconnect it?

Re: why disconnect on error: RcfError_ClientReadTimeout?

Posted: Mon Oct 27, 2014 11:07 pm
by jarl
In a timeout situation it's no longer known what state the connection is in (e.g. was the request dropped on the network? Or is the request still being processed on the server? Or was the response dropped on the network?). So to get things back to a known state, we close the connection and open a new one.