]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: WURFL: call header_retireve_callback() in dummy library
authormbellomi <massimiliano@scientiamobile.com>
Tue, 21 May 2019 13:44:53 +0000 (15:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 10:06:05 +0000 (12:06 +0200)
commite30e3001d92c32f24ac6fd3d3ebfb70405a577af
tree320ff4cf49b99592ecbcaa515624336a6bdb0ae5
parentd173e93aa76cd8c484f0d1eef7d0110fb4e37202
MINOR: WURFL: call header_retireve_callback() in dummy library

The current coverage of the dummy library was limited because the callbacks
passed to wurfl_lookup() were not called. Now we do call them with one existing
and one non-existing headers to make sure that ha_wurfl_retrieve_header() is
covered by the tests as well.
contrib/wurfl/dummy-wurfl.c