this may fix #744

This commit is contained in:
Cloud Wu
2017-10-04 00:11:31 +08:00
parent 55136b77ad
commit 1c605bed2b
2 changed files with 3 additions and 1 deletions

View File

@@ -698,6 +698,8 @@ send_buffer_(struct socket_server *ss, struct socket *s, struct socket_lock *l,
raise_uncomplete(s);
return -1;
}
if (s->low.head)
return -1;
}
// step 4
assert(send_buffer_empty(s) && s->wb_size == 0);