Cloak/cmd/ck-client
不确定 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
..
ck-client.go Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145) 2020-12-19 14:42:10 +00:00
log_android.go Improve logging 2019-08-02 15:45:33 +01:00
log.go Untested client 2018-10-07 18:09:45 +01:00
protector_android.go Format Android protector C code 2020-10-17 11:11:15 +01:00
protector.go Untested client 2018-10-07 18:09:45 +01:00