Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

http-response set-mark with value from http-response header field (1 reply)

$
0
0
Hi,
I would like to use set-mark and set-tos to values returned by the backend
in the http-response header field. Is this possible?

For example a syntax like this would be nice:
http-response set-tos $http_resp_hdr[tos]

Idea is to have backend determine the best value for tos and mark on a per
request basis depending on the client ip address, client id etc. And then
based on the tos & mark values I've my policy routing setup to choose
outbound interface and traffic queues etc.

Thanks,
Vinay

Viewing all articles
Browse latest Browse all 5112

Trending Articles