Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24617

Facing a passive close caused by a REST client actively having closed its TCP/IP connection, JBoss EAP does not unconditionally close its end, yielding CLOSE_WAIT state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.4.9.GA
    • REST
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The symptom is similar to the one once decribed in WFLY-9397. However, this issue has been resolved for a long time.

      JBoss EAP 7.4 seems to base its decision on whether to close a connection after its peer closed it upon the presence of the "Connection: close" HTTP header. Given the peer previously included this header, JBoss EAP 7.4 reliably closes the connection soon after its peer did so. But in case the peer did not include "Connection: close", i.e. the peer intended the connection to stay alive, JBoss EAP 7.4 does not close its end even after the peer closed it.

      This is in my opinion dangerous as bugs or indended malicious behavior of clients can render the server unresponsive as soon as it shows too many connections in CLOSE_WAIT state, because it runs out of file descriptors.

              Unassigned Unassigned
              irix_phb Philipp Bachmann (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: