mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 13:23:32 +02:00
Speed up legacy mode by dropping unless client is ready to send.
This commit is contained in:
parent
8e15a73a77
commit
3b11ff0c4c
1 changed files with 1 additions and 1 deletions
|
@ -1121,7 +1121,7 @@ client_tunnel(int tun_fd, int dns_fd)
|
|||
}
|
||||
|
||||
FD_ZERO(&fds);
|
||||
if (!is_sending() || outchunkresent >= 2) {
|
||||
if (!is_sending() || outchunkresent >= 2 || !lazymode) {
|
||||
/* If re-sending upstream data, chances are that
|
||||
we're several seconds behind already and TCP
|
||||
will start filling tun buffer with (useless)
|
||||
|
|
Loading…
Reference in a new issue