Hi! Kindly asking, since I failed to find any mention about unix sockets like unix:/tmp/forwarded.sock (without port) being supported in upstreams.
(You can send plain http requests to them since they are essentialy just tcp sockets)
Can anyone confirm and possibly update docs ?
Update:
|
ok, err = sock:connect(name) |
it looks like this code is exactly for unix sockets, but not sure.
Hi! Kindly asking, since I failed to find any mention about unix sockets like unix:/tmp/forwarded.sock (without port) being supported in upstreams.
(You can send plain http requests to them since they are essentialy just tcp sockets)
Can anyone confirm and possibly update docs ?
Update:
lua-resty-upstream-healthcheck/lib/resty/upstream/healthcheck.lua
Line 230 in f0b6528
it looks like this code is exactly for unix sockets, but not sure.