You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2008/01/16 12:08:34 UTC

[jira] Resolved: (GERONIMO-3749) Global session cache can cause multiple client instances to reuse incorrectly configured connections.

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

Rick McGuire resolved GERONIMO-3749.
------------------------------------

    Resolution: Fixed

Committed revision 612419.

> Global session cache can cause multiple client instances to reuse incorrectly configured connections.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3749
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3749
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: AsyncHttpClient
>            Reporter: Rick McGuire
>            Priority: Minor
>         Attachments: 3749.patch
>
>
> The current connection reuse mechanism relies on a single global session class per process (or really, per class loader that loads the ahc code) to store all of the i/o sessions indexed by host/port.  Since the selection is made based totally on host and port, it is possible that one ahc client could end up reusing a connection created by a client with a completely different connection configuration.  Caching should be implemented using a instance-based cache rather than a single global session cache. 

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