mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-02 07:53:43 +00:00
Also refine TCP fastopen
This commit is contained in:
+1
-1
@@ -446,7 +446,7 @@ static remote_t *connect_to_remote(struct addrinfo *res,
|
||||
} else {
|
||||
ERROR("sendto");
|
||||
}
|
||||
} else if (s < server->buf->len) {
|
||||
} else if (s <= server->buf->len) {
|
||||
server->buf->idx += s;
|
||||
server->buf->len -= s;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user