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

DefaultMCMPHandler can't handle chunked-encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • MOD_CLUSTER_1_0_10_GA_CP04
    • None
    • None
    • 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 Exists
    • 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

      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).

        1. chunked.log
          10 kB
          Gregory Lardiere

              rhn-engineering-jclere Jean-Frederic Clere
              gregory.lardiere Gregory Lardiere (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: