Skip to content
Snippets Groups Projects
Commit 2e7d468b authored by Matt Johnston's avatar Matt Johnston
Browse files

Add the missing second half of iov code

--HG--
branch : fastopen
parent 76a3eb39
Branches
Tags
No related merge requests found
...@@ -1086,6 +1086,10 @@ static void connect_try_next(struct dropbear_progress_connection *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) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment