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

DefaultMCMPHandler can't handle chunked-encoding

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: MOD_CLUSTER_1_0_10_GA_CP04
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      just suspend the apache process for a few seconds to trigger a SocketTimeoutException (socketTimeout must be set), then resume the process.

      Show
      just suspend the apache process for a few seconds to trigger a SocketTimeoutException (socketTimeout must be set), then resume the process.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      add the following apache directive :
      BrowserMatch "^ClusterListener" downgrade-1.0 force-response-1.0

      Show
      add the following apache directive : BrowserMatch "^ClusterListener" downgrade-1.0 force-response-1.0

      Description

      DefaultMCMPHandler send MCMP requests to mod_manager with HTTP version 1.1, but it can't understand chunked-encoded responses. Chunked encoding is mandatory in HTTP 1.1 (RFC2616 3.6.1).
      With lots of nodes, contexts and aliases, the INFO command can return a chunked-encoded response. Then, every STATUS command will fail with a NumberFormatException (cf log).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jfclere Jean-Frederic Clere
                  Reporter:
                  gregory.lardiere Gregory Lardiere
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: