Closed tomcucinotta closed 11 months ago
@deRemo, have a look at the forward branch (sketch / incomplete): https://github.com/tomcucinotta/distwalk/tree/forward
First working prototype from 1613dec
Seems we have a working FORWARD in commit 1613decd. However, for now it blocks the client thread waiting for the response from the forwarded server. The leftover TODO has been captured in #19, so I'm closing this.
FORWARD was never finished in node.c, and cannot be used at the moment; it needs to be completed with connect() to the forwarding nodes, to be added to sock_info[]; this needs to be done going through epoll_wait(), to avoid blocking the thread waiting for connection establishment