hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1358) MainClientExec Does Too Much
Date Wed, 29 May 2013 15:23:20 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669344#comment-13669344

James Leigh commented on HTTPCLIENT-1358:

I will consider a custom HttpClientConnection as an alternative, thanks. In my project, when
the target server is running in the same JVM as the client, I want to handle request/response
locally and avoid serialization.
> MainClientExec Does Too Much
> ----------------------------
>                 Key: HTTPCLIENT-1358
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1358
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.3 Beta1
>            Reporter: James Leigh
>            Priority: Trivial
>              Labels: patch
>             Fix For: 4.3 Beta2
>         Attachments: HTTPCLIENT-1358.patch
> MainClientExec directs the route, establishes connections, handles target authentication
and handles proxy authentication. It is involved with both the connection/route management
and the authentication semantics.
> It is currently too hard to intercept/handle httpclient requests without serializing
them in a socket first. If the authentication was handled in a different class, then the connection
route/timeout management, it would be easier to provide custom handling on the client side
using the complete request (including auth headers).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message