ICEpush
  1. ICEpush
  2. PUSH-117

Avoid shutting down blocking connection during fail-over

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0.1
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      server

      Description

      To avoid shutting down the blocking connection cycle during fail-over (by sending X-Connection=Close header) ICEpush needs to have the option of configuring the MainServlet so that only a NOOP message is sent back.

        Activity

        Hide
        Mircea Toma added a comment -

        Introduced MainServlet configuration parameter that changes the type of blocking connection response sent during shutdown/fail-over. By setting 'terminateBlockingConnectionOnShutdown' parameter to false the response sent during shutdown/fail-over is NOOP (instead of X-Connection=Close response type).

        Show
        Mircea Toma added a comment - Introduced MainServlet configuration parameter that changes the type of blocking connection response sent during shutdown/fail-over. By setting 'terminateBlockingConnectionOnShutdown' parameter to false the response sent during shutdown/fail-over is NOOP (instead of X-Connection=Close response type).
        Hide
        Jack Van Ooststroom added a comment -

        I changed the EPS' ICEpushServlet to instantiate the MainServlet with the terminateBlockingConnectionOnShutdown parameter set to false and successfully tested it in a Tomcat 6.0.30 clustered environment using fail-over.

        Show
        Jack Van Ooststroom added a comment - I changed the EPS' ICEpushServlet to instantiate the MainServlet with the terminateBlockingConnectionOnShutdown parameter set to false and successfully tested it in a Tomcat 6.0.30 clustered environment using fail-over.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: