balance hdr

From: David Birdsong <david.birdsong#gmail.com>
Date: Wed, 18 Nov 2009 19:37:38 -0800


From the manual:
<snip>

 hdr(name) The HTTP header <name> will be looked up in each HTTP request.

                  Just as with the equivalent ACL 'hdr()' function, the header
                  name in parenthesis is not case sensitive. If the header is
                  absent or if it does not contain any value, the round-robin
                  algorithm is applied instead.

</snip>

So this balancing scheme falls back to round-robin if the header is not found, what method is used if it is?..does it hash on the value of the header (or the name of the header)?

This question could extend to url_param, so if the param is found in the GET string or in the body of the POST, what next? What balance method is used? Received on 2009/11/19 04:37

This archive was generated by hypermail 2.2.0 : 2009/11/19 04:45 CET