Mercurial > dropbear
changeset 1030:1fff5d7163f6 fastopen
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 19 Feb 2015 22:42:30 +0800 |
parents | ea4676b840ef (diff) 5ad81aa19c2d (current diff) |
children | 64c0aa01e2b6 |
files | dbutil.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dbutil.c Thu Feb 19 22:33:51 2015 +0800 +++ b/dbutil.c Thu Feb 19 22:42:30 2015 +0800 @@ -1087,6 +1087,10 @@ /* 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) {