You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/10/10 14:00:00 UTC

[jira] [Resolved] (TOMEE-3850) HTTP(S) connections are not reused

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

Richard Zowalla resolved TOMEE-3850.
------------------------------------
    Resolution: Fixed

> HTTP(S) connections are not reused
> ----------------------------------
>
>                 Key: TOMEE-3850
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3850
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 9.0.0-M7, 8.0.10
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 8.0.13
>
>
> Watching connections from openejb-client to TomEE that are being made over HTTPS in Wireshark, I observe that connections are being reset (RST) and a fresh connection being created for every request. When using HTTPS, this is particularly bad, as a SSL handshake needs to be carried out each time.
> The openejb-client uses HttpUrlConnection from the JDK, which provides an element of basic connection pooling and reuse, provided the response buffer is fully consumed at the end of every request. It appears that openejb-client does not do this, leading a new connection being created for each request.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)