Github user ok2c commented on the issue:

    https://github.com/apache/httpcomponents-core/pull/70
  
    > Here's another alternative. What if rather than registering the 
AsyncPushConsumers on the HttpClient you could pass a AsyncPushConsumer when 
making the request:
    
    @ato I had a nagging feeling when developing HTTP/2 push functionality that 
would become necessary at some point. This is indeed a better approach.
    
    Can I suggest the following? Could you please reduce the scope of this 
change-set to adding `HttpContext` parameter to 
`AsyncPushConsumer#consumePromise` without any `HttpContext` chaining stuff? As 
the next step we can work on extending `HttpAsyncRequester` in core and 
`HttpAsyncClient` in client a method that can pass `AsyncPushConsumer` or 
`HttpRequestMapper` to the request execution handler.    


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to