hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Golovanov (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (HTTPCLIENT-1751) HttpConnection -> close/shutdown -> does not work?
Date Tue, 21 Jun 2016 21:35:58 GMT

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

Oleg Golovanov updated HTTPCLIENT-1751:
    Comment: was deleted

(was: Btw, one more question:
is it possible somehow to get connection's local socket address + remote socket address using

> HttpConnection -> close/shutdown -> does not work?
> --------------------------------------------------
>                 Key: HTTPCLIENT-1751
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1751
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.5.2
>            Reporter: Oleg Golovanov
> I am looking for a way to close connections manually, using httpclient with pooling connection
> Why do i need it? 
> I'll explain.
> 1) i am executing request
> 2) request successfully executed, no I/O error, connection kept-alive
> 3) i analyze response and understand, that i don't need that connection at all.
> Right not its in ESTABLISHED state, and i want to close it as soon as possible.
> I don't want to wait for that connection to be closed by, for example, connectionManager.closeIdleConnections()
> Is it possible?
> I am getting HttpConnection object via context.getConnection(), but "close" and "shutdown"
does not do anything, connection still alive after that.
> Thank you.

This message was sent by Atlassian JIRA

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

View raw message