mirror of https://github.com/cbeuw/Cloak
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.pull/145/head
parent
57138e84e5
commit
e77fd4c446
Loading…
Reference in New Issue