]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: htx: Don't return the start-line if the HTX message is empty
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 13:08:42 +0000 (15:08 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 13:12:27 +0000 (15:12 +0200)
commit3a4d1bea61cb20dd4c00902dfff7a403af19f965
tree3735055fbaa69440e522ad95d667529405684526
parent038ad8123bf51c1b3e4da0bba4be75e33714a5fc
BUG/MEDIUM: htx: Don't return the start-line if the HTX message is empty

In the function htx_get_stline(), NULL must be returned if the HTX message
doesn't contain any element.

This patch must be backported to 1.9.
include/common/htx.h