commit | daa356bd7d9a04c69b709842d09ceb623aa0705f | [log] [tgz] |
---|---|---|
author | Ben51Degrees <Ben@51Degrees.com> | Wed Jan 16 10:19:15 2019 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 16 17:26:14 2019 +0100 |
tree | a2c20478ca04555356675a0efb66d219d1fc0a64 | |
parent | 8b87c01c4d59247d9fb51a38cd12d5d94324b6a4 [diff] |
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.