MINOR: http: Use a trash chunk to store decoded string of the HTTP auth header
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 27 Jul 2017 13:18:52 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Sep 2017 08:36:28 +0000 (10:36 +0200)
commit6988f678cd6c7c91c5ded5b13a4958b0d3f8ae9d
treea45fcb07b246b5e5b0f19577fe2a8574098e147a
parentca20d02ea8d5508fdbccf4319c0d7c83e67817bd
MINOR: http: Use a trash chunk to store decoded string of the HTTP auth header

This string is used in sample fetches so it is safe to use a preallocated trash
chunk instead of a buffer dynamically allocated during HAProxy startup.
include/proto/proto_http.h
src/haproxy.c
src/proto_http.c