You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Bob Scheifler (JIRA)" <ji...@apache.org> on 2007/07/20 19:55:07 UTC

[jira] Updated: (RIVER-31) HttpsEndpoint.EndpointInfo.connect should not establishCallContext while synchronized

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

Bob Scheifler updated RIVER-31:
-------------------------------

    Component/s: net_jini_jeri

> HttpsEndpoint.EndpointInfo.connect should not establishCallContext while synchronized
> -------------------------------------------------------------------------------------
>
>                 Key: RIVER-31
>                 URL: https://issues.apache.org/jira/browse/RIVER-31
>             Project: River
>          Issue Type: Bug
>          Components: net_jini_jeri
>            Reporter: Bob Scheifler
>
> In HttpsEndpoint.EndpointInfo.connect, if an existing connection can't be reused, a new HttpsConnection is created and establishCallContext is called on it.  Both of the latter are done while still holding the EndpointInfo lock, and establishCallContext does connection establishment and SSL handshake, which can take a long time. As a result, concurrent calls are unable to proceed concurrently.  I believe these can and should be pulled out of the synchronized block (similar to ConnectionManager.connect).

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