commit | 97e466c9e386698085fa1080553bb7793b39fb05 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri May 15 15:12:47 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed May 20 18:27:14 2020 +0200 |
tree | f470f39d1867584746c698889a57db9cc83af117 | |
parent | 963ce5bc06f0a04d71a6f5c255822b184af4f08d [diff] |
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.