Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0-M7
-
None
-
None
Description
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.
Attachments
Issue Links
- is cloned by
-
TOMEE-4089 HTTP(S) connections are not reused
- Open