You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2022/03/07 11:09:00 UTC
[jira] [Created] (TOMEE-3850) HTTP(S) connections are not reused
Jonathan Gallimore created TOMEE-3850:
-----------------------------------------
Summary: 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: 8.0.10
Reporter: Jonathan Gallimore
Assignee: Jonathan Gallimore
Fix For: 8.0.11
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.1#820001)