Open dekimir opened 4 years ago
we have following caller-callee chain:
`seastar::connect(socket_address)` ->
`reactor::connect(socket_address)` ->
`network_stack::connect(socket_address, socket_address, transport)`
while engine().net()
returns network_stack&
.
so i believe seastar::connect()
should be able to connect to a unix domain socket.
When I use
seastar::connect()
with a socket address based onunix_domain_addr
, the domain socket never receives any traffic. But when I useengine().net().connect()
, it works fine.We should either make
seastar::connect()
work for domain sockets or make it explicitly fail and document this exception./cc @ronen-fr