Open lvu opened 6 years ago
see #20,almost 1 years old.
You mean nobody cares anymore? :(
No reason to use udp over UDS. https://stackoverflow.com/questions/13953912/difference-between-unix-domain-stream-and-datagram-sockets
No reason to use udp over UDS. https://stackoverflow.com/questions/13953912/difference-between-unix-domain-stream-and-datagram-sockets
But imuxsock from rsyslog only support udp UDS.
_do_connect()
fails ifsocket_type
is"udp"
andpath
is specified instead ofhost, port
In this case, a UDP socket is created, and then its
:connect()
method is called, but there is no such method, soattempt to call method 'connect' (a nil value)
error is thrown.A simple fix is here: https://github.com/cloudflare/lua-resty-logger-socket/pull/35