Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3850

HTTP(S) connections are not reused

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.0.0-M7
    • 8.0.13
    • 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

          Activity

            People

              jgallimore Jonathan Gallimore
              jgallimore Jonathan Gallimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: