Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-653

mod_cluster DefaultMCMPHandler should handle "Connection: close" response header and close a connection

    XMLWordPrintable

Details

    Description

      mod_cluster DefaultMCMPHandler#sendRequest() does not close a connection when Apache httpd closes a connection and responds to MCMP STATUS request with "Connection: close" response header. (As KeepAlive Off is set by default, Apache httpd closes a connection and responds to MCMP STATUS request with "Connection: close".) Therefore, CLOSE_WAIT connection remains every MCMP STATUS command.

      This CLOSE_WAIT connection will be cleaned when trying to send the next MCMP STATUS request, so there's no functional impact. And this is not a critical issue as neither connection leak nor file descriptor leak happens. However, it's better that mod_cluster handles the "Connection: close" response header and close a connection.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: