You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cloak/internal/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>
4 years ago
..
TLS.go Use a pre-made buffer for TLSConn.Write 4 years ago
TLS_test.go Add unit tests 5 years ago
auth.go Make sure times are UTC and correctly subtract the timestamp window from the server time. (#134) 4 years ago
auth_test.go Rename constants to camel case 4 years ago
chrome.go Update Chrome signature to 85. Address #129 4 years ago
chrome_test.go Fix test GREASE comparison 4 years ago
connector.go Refactor for clarity and add comments 4 years ago
firefox.go Code cleanup and move stuff around 5 years ago
firefox_test.go Refactor client ClientHello composition 5 years ago
piper.go Fix critical bugs in session opening for TCP and UDP in case of Singleplex mode. (#145) 4 years ago
state.go Add CdnHttpHost config setting with documentation. (#143) 4 years ago
state_test.go Improve test coverage for client's ParseConfig 4 years ago
transport.go Export fields for testing 5 years ago
websocket.go Prevent nil pointer panic when server response is incorrect under CDN mode 4 years ago