Commit Graph

14 Commits (7b6a82b364d81af7b4f314a0ba490678f8e7d4e8)

Author SHA1 Message Date
不确定 e77fd4c446
Fix regression: termination of long downloads after StreamTimeout seconds (#141)
* Fix termination of long downloads after StreamTimeout seconds.

- Even if not broadcasting in a loop, we still need to update the read deadline.
- Don't enforce the timeout after the first data is written.

* When timeout no longer needs to be enforced, no need to schedule a broadcast.

* Fix Cloak client. Don't enforce read deadline after first read.

* Enforce StreamTimeout on the initial bytes sent by localConn only.

* Revert changes to multiplex module. Remove timeout from caller.
4 years ago
Andy Wang a59d9cb880 Fix singleplex and add tests 4 years ago
Andy Wang 9887649b88 Refactor Singleplexing 4 years ago
notsure2 dab137dbd7 Support session per connection mode (like GoQuiet) when NumConn = 0. 4 years ago
Andy Wang 128f653ea4 Fix duplicate UDP binding 4 years ago
Andy Wang 369f3c781c Fix UDP 4 years ago
Andy Wang e202d8d03b Implement WriteTo and ReadFrom timeouts 5 years ago
Andy Wang 5d4e8b8d8d Refactor udp piping and add tests 5 years ago
Andy Wang 93cf6dec6e Export fields for testing 5 years ago
Andy Wang d53b80208f Refactor for easier testing 5 years ago
Andy Wang e5bda61587 Close connections properly 5 years ago
Andy Wang e41394c83c Set frame size limit through multiplexer 5 years ago
Andy Wang 7bfae8accd Refactor client side transport (breaks server) 5 years ago
Andy Wang a163f066a6 Refactor client config 5 years ago