]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: 51d: Changes to the buffer API in 1.9 were not applied to the 51Degrees code.
authorBen51Degrees <Ben@51Degrees.com>
Wed, 16 Jan 2019 10:19:15 +0000 (10:19 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Jan 2019 16:26:14 +0000 (17:26 +0100)
commitdaa356bd7d9a04c69b709842d09ceb623aa0705f
treea2c20478ca04555356675a0efb66d219d1fc0a64
parent8b87c01c4d59247d9fb51a38cd12d5d94324b6a4
BUG: 51d: Changes to the buffer API in 1.9 were not applied to the 51Degrees code.

The code using the deprecated 'buf->p' has been updated to use
'ci_head(buf)' as described in section 5 of
'doc/internals/buffer-api.txt'.
A compile time switch on 'BUF_NULL' has also been added to enable the
same source code to be used with pre and post API change HAProxy.

This should be backported to 1.9, and is compatible with previous
versions.
src/51d.c