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

add option to allow the modcluster advertise ttl to be set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.23.Final
    • 1.4.22.Final
    • Proxy
    • None

      Currently a modcluster advertise UDP datagram is sent with a ttl (time to live) of 1, the default setting.
      Apache httpd mod_cluster uses a hard coded value of 10 (defined as MA_ADVERTISE_HOPS in mod_cluster-1.3.7.Final/native/advertise/mod_advertise.h).

      The ttl is reduced by every router on the route to its destination. If the ttl reaches zero before the datagram arrives at its destination, the datagram is discarded.
      This means that, with a ttl of 1, the advertise UDP datagram never reaches any modcluster listeners that are located behind a router.

      Two possible ways to resolve the issue:

      1. add option to allow the modcluster advertise ttl to be set
      2. use a hard coded advertise ttl value of 10 (match Apache httpd mod_cluster behaviour)

      I have the changes ready to be submitted, let me know which option and default ttl value you prefer.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              frapex Frank de Jong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: