[
https://issues.apache.org/jira/browse/HTTPCLIENT-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-2209.
-------------------------------------------
Fix Version/s: 5.2-alpha2
Resolution: Fixed
> Pass HttpContext to AsyncClientConnectionOperator
> -------------------------------------------------
>
> Key: HTTPCLIENT-2209
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2209
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (async)
> Affects Versions: 5.1.2
> Reporter: Andriy Redko
> Priority: Major
> Fix For: 5.2-alpha2
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Although the *AsyncClientConnectionOperator* is primarily used by
> *AsyncClientConnectionManager* implementation, the *HttpContext* is not
> passed from *AsyncClientConnectionManager* to *AsyncClientConnectionOperator*
> (the respective connect() and upgrade() methods just do nothing with it).
> It significantly limits the context propagation abilities for
> *AsyncClientConnectionOperator* implementations. Also, adding *HttpContext*
> makes the *AsyncClientConnectionOperator* on par with
> *HttpClientConnectionOperator* which accepts HttpContext.
> The change could be done in non-breaking fashion by adding default method
> implementation. Happily to submit a patch if the improvement makes sense.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]