mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 23:14:46 +00:00
4b3eb0a940
It is possible that some arguments within the configuration line are not specified; that is, they are set to a blank string. For example: keyword '' arg_2 In that case the content of the args field will be like this: args[0]: 'keyword' args[1]: NULL pointer args[2]: 'arg_2' args[3 .. MAX_LINE_ARGS): NULL pointers The previous way of calculating the number of arguments (as soon as a null pointer is encountered) could not place an argument on an empty string. All of the above is essential for passing the OpenTracing context via the HTTP headers (keyword 'inject'), where one of the arguments is the context name prefix. This way we can set an empty prefix, which is very useful if we get context from some other process that can't add a prefix to that data; or we want to pass the context to some process that cannot handle the prefix of that data. |
||
---|---|---|
.. | ||
51degrees | ||
deviceatlas | ||
ot | ||
promex | ||
wurfl |