Cloak/internal
不确定 cfbf0dfcb6
Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145)
* Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode.

- In case of TCP, don't open the session in the listener accept thread. This
  causes resource exhaustion of the tcp listener backlog queue in case of internet
  connection disruption or timeout.

- In case of UDP, don't create a new session for every UDP packet.

* Fix race in integration test.

* Fix race condition in session maker

* Code style improvements

* Explicit session.Close() call is indeed needed

Co-authored-by: Andy Wang <cbeuw.andy@gmail.com>
2020-12-19 14:42:10 +00:00
..
client Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145) 2020-12-19 14:42:10 +00:00
common Remove redundant code 2020-10-18 00:46:03 +01:00
ecdh Improve test coverage 2020-10-18 00:45:28 +01:00
multiplex Improve tests code quality 2020-12-06 11:14:33 +00:00
server Remove StreamTimeout from server completely 2020-12-12 17:51:54 +00:00
test Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145) 2020-12-19 14:42:10 +00:00