mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Add the missing second half of iov code
--HG-- branch : fastopen
This commit is contained in:
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 */
|
||||
c->writequeue = NULL;
|
||||
}
|
||||
m_free(message.msg_iov);
|
||||
if (res > 0) {
|
||||
packet_queue_consume(c->writequeue, res);
|
||||
}
|
||||
}
|
||||
|
||||
if (!c->writequeue) {
|
||||
|
||||
Reference in New Issue
Block a user