]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: lua: sockets receive behavior doesn't follows the specs
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 9 Mar 2015 17:35:06 +0000 (18:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Mar 2015 17:46:48 +0000 (18:46 +0100)
commit005439250989140b9d7dbbf3ccc5b97c2dec0a1d
treed5382d3d2bbe62760d7667cae2f6dc9a69faa3b1
parent95ad96a7ea06b4da01e9f2c05ee350602d1662b9
BUG/MINOR: lua: sockets receive behavior doesn't follows the specs

Specs says that the receive() function with an argument "*l"
must return a line without the final "\n" ( or without "\r\n").
This patch removes these two final bytes.
src/hlua.c