Richard Zowalla created TOMEE-4089:
--------------------------------------
Summary: HTTP(S) connections are not reused
Key: TOMEE-4089
URL: https://issues.apache.org/jira/browse/TOMEE-4089
Project: TomEE
Issue Type: Bug
Affects Versions: 9.0.0-M7, 8.0.10
Reporter: Jonathan Gallimore
Assignee: Jonathan Gallimore
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)