]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua: add AppletTCP:try_receive()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 31 Mar 2025 11:55:35 +0000 (13:55 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 3 Apr 2025 15:52:39 +0000 (17:52 +0200)
commit0ffc80d3ba4f83092a5a05674bf9a0145441e316
tree1717ec032aa7fe38bfd755450590ddeef151be76
parent86d3cfdeeb8684b0e48aa4352813b7f5f26bbc76
MINOR: hlua: add AppletTCP:try_receive()

This is the non-blocking variant for AppletTCP:receive(). It doesn't
take any argument, instead it tries to read as much data as available
at once. If no data is available, empty string is returned.

Lua documentation was updated.
doc/lua-api/index.rst
src/hlua.c