mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Add the missing second half of iov code
--HG-- branch : fastopen
This commit is contained in:
parent
76a3eb393c
commit
2e7d468b90
4
dbutil.c
4
dbutil.c
@ -1086,6 +1086,10 @@ static void connect_try_next(struct dropbear_progress_connection *c) {
|
|||||||
/* No kernel MSG_FASTOPEN support. Fall back below */
|
/* No kernel MSG_FASTOPEN support. Fall back below */
|
||||||
c->writequeue = NULL;
|
c->writequeue = NULL;
|
||||||
}
|
}
|
||||||
|
m_free(message.msg_iov);
|
||||||
|
if (res > 0) {
|
||||||
|
packet_queue_consume(c->writequeue, res);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!c->writequeue) {
|
if (!c->writequeue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user