Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1018

node-timeout: Attribute is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.4.11.Final
    • None

    Description

      node-timeout is an attribute set via worker

      node-timeout
      Timeout (in seconds) for proxy connections to a node. That is the time mod_cluster will wait for the back-end response before returning error. That corresponds to timeout in the worker mod_proxy documentation. A value of -1 indicates no timeout. Note that mod_cluster always uses a cping/cpong before forwarding a request and the connectiontimeout value used by mod_cluster is the ping value.

      Reproducing:

      1. Set up undertow as proxy balancer
      2. Set up worker with node-timeout to 10
        /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=node-timeout, value=10)
      3. Deploy app that with sleep for 15 seconds
      4. Request send via balancer to deployed app should return 50x after 10 seconds, but is returning 200 after 15 seconds

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bsikora Bogdan Sikora (Inactive)
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: