You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/09/21 14:20:50 UTC

[jira] Updated: (HTTPCLIENT-690) Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-690:
-----------------------------------------

    Fix Version/s:     (was: Snapshot)
                   4.0 Alpha 2

Would giving access to the SSLSession be sufficient? Do we really need to expose the underlying socket?

Oleg

> Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-690
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-690
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: HttpConn
>    Affects Versions: Snapshot
>            Reporter: Johannes Koch
>            Priority: Minor
>             Fix For: 4.0 Alpha 2
>
>
> Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface in order to access the socket from within an HttpProcessor. Currently the org.apache.http.conn.OperatedClientConnection has a getSocket() method, but the connection implementation returned by
>   context.getAttribute(ExecutionContext.HTTP_CONNECTION) 
> (org.apache.http.impl.conn.tsccm.BasicPooledConnAdapter) does not provide access to the wrappedConnection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Re: [jira] Updated: (HTTPCLIENT-690) Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface

Posted by Johannes Koch <jo...@fit.fraunhofer.de>.
Hi Oleg,

Oleg Kalnichevski schrieb:
> The whole point is we do not want to expose the wrapped connection so we
> could make sure it is still in a consistent state once it has been
> returned back to the manager and made re-usable.

I see.
-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

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


Re: [jira] Updated: (HTTPCLIENT-690) Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Fri, 2007-09-21 at 14:58 +0200, Johannes Koch wrote:
> Oleg Kalnichevski (JIRA) schrieb:
> >      [ https://issues.apache.org/jira/browse/HTTPCLIENT-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> > 
> > Oleg Kalnichevski updated HTTPCLIENT-690:
> > -----------------------------------------
> > 
> >     Fix Version/s:     (was: Snapshot)
> >                    4.0 Alpha 2
> > 
> > Would giving access to the SSLSession be sufficient?
> 
> For my use case, yes, but ...
> 
> > Do we really need to expose the underlying socket?
> 
> the OperatedClientConnection already exposes the socket, while the 
> BasicPooledConnAdapter does not expose the wrapped OperatedClientConnection.
> 

Johannes,

The whole point is we do not want to expose the wrapped connection so we
could make sure it is still in a consistent state once it has been
returned back to the manager and made re-usable.

Oleg 


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


Re: [jira] Updated: (HTTPCLIENT-690) Provide access to the wrappedConnection in org.apache.http.impl.conn.AbstractClientConnAdapter via some interface

Posted by Johannes Koch <jo...@fit.fraunhofer.de>.
Oleg Kalnichevski (JIRA) schrieb:
>      [ https://issues.apache.org/jira/browse/HTTPCLIENT-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Oleg Kalnichevski updated HTTPCLIENT-690:
> -----------------------------------------
> 
>     Fix Version/s:     (was: Snapshot)
>                    4.0 Alpha 2
> 
> Would giving access to the SSLSession be sufficient?

For my use case, yes, but ...

> Do we really need to expose the underlying socket?

the OperatedClientConnection already exposes the socket, while the 
BasicPooledConnAdapter does not expose the wrapped OperatedClientConnection.

-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

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