snsinfu / reverse-tunnel

Reverse tunnel TCP and UDP
MIT License
178 stars 38 forks source link

Fix unexpected EOF errors on high load #14

Closed snsinfu closed 3 years ago

snsinfu commented 3 years ago

This PR attempts to fix random errors under high load. The changes include:

The added test test_http_load tests robustness of rtun/rtun-server under high load. The number of concurrent connections is set to small 100 not to clutter up the CI log. The test runs fine with concurrency 10000 on my local machines.

This PR should fix (at least a part of) the issue #13.