Open sosweetham opened 1 week ago
Back on my PC, will see if I can push a fix by weekend
Holy shit I think I understand it LOL
https://github.com/tunlrs/mono/blob/main/packages/tunlrs-core/src/tunnel/tunnelconnection.rs#L149
This blocking issue might be because I am not closing an empty TCP pipe between tunnel and server - which is why it keeps waiting until it gets some data. I'll fix this in a bit
PS: still need to fix the read server response functionality - currently after forwarding from client to server, the function blocks until the client connection is de-established(i.e, Ctrl+C on the client netcat window..) - this will have to be fixed. Perhaps something like an async move () can work here? from #15