]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua funtion hlua_socket_settimeout don't check negative values
authorThierry Fournier <thierry.fournier@ozon.io>
Thu, 8 Mar 2018 08:59:02 +0000 (09:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Mar 2018 09:11:49 +0000 (11:11 +0200)
commit17a921b799631661803065f1873326b522e6bc3a
tree5ddfe88a4813068ebf6ea3b551c533dedc1d847f
parente9636f192a5c312424b7598ca182b0425827b08b
BUG/MINOR: lua funtion hlua_socket_settimeout don't check negative values

Negatives timeouts doesn't have sense. A negative timeout doesn't cause
a crash, but the connection expires before the system try to extablish it.

This patch should be backported in all versions from 1.6
src/hlua.c