Add the missing second half of iov code

--HG--
branch : fastopen
This commit is contained in:
Matt Johnston 2015-02-19 22:41:51 +08:00
parent 76a3eb393c
commit 2e7d468b90

View File

@ -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) {