Hi All:

On a timeout, when processing gets around to calling:

org.apache.hc.core5.http.impl.nio.AbstractHttp1StreamDuplexer.onTimeout():

    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

Reply via email to