]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: add-header: header name copied twice
authorThierry Fournier <thierry.fournier@ozon.io>
Wed, 1 Jun 2016 11:36:20 +0000 (13:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Jun 2016 08:34:07 +0000 (10:34 +0200)
commit53c1a9b7cb8f3fe79b5492218363b6c0ff608fc1
tree6fb744daf452587292a746726c85c68db0b2a6ee
parent4a53bfdc1de46c78a23eabdefc4b418cff7d0403
BUG/MINOR: http: add-header: header name copied twice

The header name is copied two time in the buffer. The first copy is a printf-like
function writing the name and the http separators in the buffer, and the second
form is a memcopy. This seems to be inherited from some changes. This patch
removes the printf like, format.

This patch must be backported in 1.6 and 1.5 versions
src/proto_http.c