hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Potapov <potapo...@gmail.com>
Subject Re: Three different HttpContext in HttpAsyncService
Date Mon, 06 Oct 2014 15:42:42 GMT
On Mon, Oct 06, 2014 at 03:49:42PM +0200, Oleg Kalnichevski wrote:
> Could you please put together a test case demonstrating such execution
> path?
Here it is: https://gist.github.com/hirthwork/45a45702a112c14b041d

I've modified NHttpFileServer example a bit, so it will throw ProtocolException
if file not found.
At the start of execution I'm putting timestamp into context using
HttpRequestInterceptor and in ConnectionKeepAlive strategy tries to get request
and timestamp from context.
Everything works fine if there was no exception (context is the same as one
passed to http processor).
In case of exception original context is lost, so it will contain only response

Best regards,
Dmitry Potapov

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

View raw message