Describe the bug
We've started looking to use wstunnel for our use case and love what it can do, thanks for a great project!
When creating a simple local setup to test wstunnel for our use case (reverse tunnel) I noticed that when I tested the behaviour of two clients connecting using the same tunnelling port then the INFO logs start getting longer and longer
To Reproduce
Steps to reproduce the behavior:
# Start server end of wstunnel:
wstunnel server wss://[::]:8443
# Start client end of wstunnel:
wstunnel client -R tcp://[::]:9001:localhost:8001 wss://127.0.0.1:8443
# Start another client using same port 9001 of wstunnel:
wstunnel client -R tcp://[::]:9001:localhost:8002 wss://127.0.0.1:8443
# You will see the second client logs repeatedly trying to connect, but each time it fails, the error message that ends with:
.... wstunnel::tcp: Cannot connect to tcp endpoint 127.0.0.1:8443 reason Connection refused (os error 111)
grows and it looks like the details used for each connection attempt are appended to a list
Expected behavior
The connection error should only show the tunnel details for the current connection attempt that just failed.
Screenshots
Desktop (please complete the following information):
Describe the bug We've started looking to use wstunnel for our use case and love what it can do, thanks for a great project!
When creating a simple local setup to test wstunnel for our use case (reverse tunnel) I noticed that when I tested the behaviour of two clients connecting using the same tunnelling port then the INFO logs start getting longer and longer
To Reproduce Steps to reproduce the behavior:
Expected behavior The connection error should only show the tunnel details for the current connection attempt that just failed.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.