Andriy Redko created HTTPCLIENT-2209:
----------------------------------------
Summary: 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
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 to
*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]