Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1050

mod_proxy_http drops POST body after failover attempt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.37 SP6 CR1
    • httpd 2.4.37 SP5 GA
    • httpd
    • None
    • 8
    • False
    • False
    • CR1
    • +
    • Undefined
    • Hide

      -Set up a simple balancer with only the second node accessible and running:

      <Proxy "balancer://mycluster">
          BalancerMember http://127.0.0.1:8081 route=node1
          BalancerMember http://127.0.0.1:8080 route=node2
          ProxySet stickysession=JSESSIONID
      </Proxy>
      ProxyPass /helloworld balancer://mycluster/helloworld stickysession=JSESSIONID|jsessionid
      

      -Attempt a POST request, note the failure to node1 and then see the POST body is not sent and the request content-length is 0 in the request proxied to node2
      -Re-attempt the request while node1 is still in an error state, and the POST body is not impacted

      Show
      -Set up a simple balancer with only the second node accessible and running: <Proxy "balancer: //mycluster" > BalancerMember http: //127.0.0.1:8081 route=node1 BalancerMember http: //127.0.0.1:8080 route=node2 ProxySet stickysession=JSESSIONID </Proxy> ProxyPass /helloworld balancer: //mycluster/helloworld stickysession=JSESSIONID|jsessionid -Attempt a POST request, note the failure to node1 and then see the POST body is not sent and the request content-length is 0 in the request proxied to node2 -Re-attempt the request while node1 is still in an error state, and the POST body is not impacted

      mod_proxy_http drops the POST body and does not send it to the backend after failover in a balancer. This does not occur with AJP and only occurs with 2.4.37 SP1+. So it seems this may be introduced by JBCS-717 fixes.

        1. JBCS-1050.jsp
          0.6 kB
        2. error_log.zip
          6 kB

              gzaronik@redhat.com George Zaronikas
              rhn-support-aogburn Aaron Ogburn
              Paul Lodge Paul Lodge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: