]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: 51d: Upgraded to support 51Degrees V3.2 and new features
authorJames Rosewell <james@51degrees.com>
Fri, 18 Sep 2015 17:28:52 +0000 (18:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Sep 2015 10:44:59 +0000 (12:44 +0200)
commita28bbd53c4c096d9e357785f906eb463cf82a582
tree427702e051bf6df84d0df3c365863f107f9be226
parent3670eb1d7458fd6d9080191a7ff0c8f66cb147b0
MAJOR: 51d: Upgraded to support 51Degrees V3.2 and new features

Trie device detection doesn't benefit from caching compared to Pattern.
As such the LRU cache has been removed from the Trie method.

A new fetch  method has been added named 51d.all which uses all the
available HTTP headers for device device detection. The previous 51d
conv method has been changed to 51d.single where one HTTP header,
typically User-Agent, is used for detection. This method is marginally
faster but less accurate.

Three new properties are available with the Pattern method called
Method, Difference and Rank which provide insight into the validity of
the results returned.

A pool of worksets is used to avoid needing to create a new workset for
every request. The workset pool is thread safe ready to support a future
multi threaded version of HAProxy.
src/51d.c