On Fri, 2018-08-03 at 14:37 -0600, Gary Gregory wrote:
> Hi All:
>
> On a timeout, when processing gets around to calling:
>
> org.apache.hc.core5.http.impl.nio.AbstractHttp1StreamDuplexer.onTimeo
> ut():
>
> public final void onTimeout() throws IOException, HttpException {
> if (!handleTimeout()) {
> onException(new SocketTimeoutException());
> }
> }
>
> I'd like it to receive the _actual timeout_ so that I can include it
> like
> this:
>
> onException(new SocketTimeoutException(timeoutMillis));
>
> Which I can use down the line (onException(...)) for better error
> reporting.
>
> Are you all OK with that?
>
> Gary
Works for me. Please just do consistently across the entire code base.
Cheers
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]