hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hirthwork <...@git.apache.org>
Subject [GitHub] httpcore pull request: Allow custom processing for "Response alrea...
Date Wed, 15 Oct 2014 08:22:59 GMT
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 <notifications@github.com> 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message