MINOR: http-ana: Add a function to write an http reply in an HTX message
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 May 2020 13:12:47 +0000 (15:12 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 16:27:14 +0000 (18:27 +0200)
commit97e466c9e386698085fa1080553bb7793b39fb05
treef470f39d1867584746c698889a57db9cc83af117
parent963ce5bc06f0a04d71a6f5c255822b184af4f08d
MINOR: http-ana: Add a function to write an http reply in an HTX message

When an error response is sent to a client, the write of the http reply in the
channel buffer and its sending are performed in different functions. The
http_reply_to_htx() function is used to write an http reply in HTX message. This
way, it could be possible to use the http replies in a different context.
src/http_ana.c