CLEANUP: wurfl: removed deprecated methods

last 2 major releases of libwurfl included a complete review of engine options with
the result of deprecating many features. The patch removes unecessary code and fixes
the documentation.
Can be backported on any version of haproxy.

[wt: must not be backported since it removes config keywords and would
 thus break existing configurations]
Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
paulborile
2019-04-18 11:57:04 +02:00
committed by Willy Tarreau
parent 59d50145dc
commit bad132c384
4 changed files with 15 additions and 147 deletions

View File

@@ -7,19 +7,11 @@
global
# The WURFL data file
wurfl-data-file /usr/share/wurfl/wurfl-eval.xml
wurfl-data-file /usr/share/wurfl/wurfl.zip
# WURFL patches definition (as much as needed, patches will be applied in the same order as specified in this conf file)
#wurfl-patch-file /path/to/patch1.xml;
# WURFL engine target: one of the following (default is performance)
wurfl-engine-mode performance
#wurfl-engine-mode accuracy
# WURFL cache: one of the following
## double LRU cache
wurfl-cache-size 100000,30000
## single LRU cache
#wurfl-cache-size 100000
## no cache
#wurfl-cache-size 0