MINOR: hlua/event_hdl: timestamp for events
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 20 Apr 2023 09:32:46 +0000 (11:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Apr 2023 12:36:45 +0000 (14:36 +0200)
commit096b383e16b1ff2c626ddeec149c70553b4af6b8
tree52f3a75f4d228b906c5578e5c44fd5b2ff92fdfe
parente9314fb7a7cc63805bddb4730ab92ef565647160
MINOR: hlua/event_hdl: timestamp for events

'when' optional argument is provided to lua event handlers.

It is an integer representing the number of seconds elapsed since Epoch
and may be used in conjunction with lua `os.date()` function to provide
a custom format string.
doc/lua-api/index.rst
src/hlua.c