Github user hirthwork commented on the pull request:
https://github.com/apache/httpcore/pull/5#issuecomment-59172660
HttContext is not enough because response producer could be generated by
HttpAsyncService.handleException(...). Also these two functions are related to
different kinds of bugs: callback usually set at the very beginning of request
handling, while response can be sent from a set of callbacks. So, it is better
to handle them in different ways (e.g. call cancellable if response already
submitted)
> On 15 Oct 2014, at 12:08, Oleg Kalnichevski <[email protected]>
wrote:
>
> Dmitry,
> Any chance one method #handleAlreadySubmittedResponse(HttpContext) would
suffice for both cases?
>
> Oleg
>
> â
> Reply to this email directly or view it on GitHub.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]