geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3686) AsyncHttpClient does not reuse connection even if connections are persistent
Date Wed, 12 Dec 2007 01:07:43 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550779
] 

Sangjin Lee commented on GERONIMO-3686:
---------------------------------------

I'm making a small correction to the patch, and will upload a revised version shortly.

The issue is that I forgot to add an additional configuration option called reuseConnection.
 Connection reuse is different than the SO_KEEPALIVE on the socket...

> AsyncHttpClient does not reuse connection even if connections are persistent
> ----------------------------------------------------------------------------
>
>                 Key: GERONIMO-3686
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3686
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: AsyncHttpClient
>    Affects Versions: 1.x
>            Reporter: Sangjin Lee
>         Attachments: 3686.patch
>
>
> Each time AsyncHttpClient.sendRequest() is called, a new TCP connection is opened, even
though connections may be kept alive per HTTP spec.  If connections are kept open, they should
be reused for more requests.

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


Mime
View raw message