haproxy/doc/lua-api
Mark Lakes 56cc12509c MINOR: lua: allow socket api settimeout to accept integers, float, and doubles
Instead of hlua_socket_settimeout() accepting only integers, allow user
to specify float and double as well. Convert to milliseconds much like
cli_parse_set_timeout but also sanity check the value.

http://w3.impa.br/~diego/software/luasocket/tcp.html#settimeout

T. Fournier edit:

The main goal is to keep compatibility with the LuaSocket API. This
API only accept seconds, so using a float to specify milliseconds is
an acceptable way.

Update doc.
2018-03-27 14:17:02 +02:00
..
_static MINOR: lua: add function which return true if the channel is full. 2016-11-12 10:42:25 +01:00
conf.py DOC: lua api 2015-03-11 20:41:33 +01:00
index.rst MINOR: lua: allow socket api settimeout to accept integers, float, and doubles 2018-03-27 14:17:02 +02:00
Makefile DOC: lua api 2015-03-11 20:41:33 +01:00