Fix 0-RTT write zero
This commit is contained in:
parent
8b3bf3a2b6
commit
07c51665da
@ -129,8 +129,10 @@ where
|
||||
Err(err) => return Poll::Ready(Err(err))
|
||||
};
|
||||
data.extend_from_slice(&buf[..len]);
|
||||
if len != 0 {
|
||||
return Poll::Ready(Ok(len));
|
||||
}
|
||||
}
|
||||
|
||||
// complete handshake
|
||||
while stream.session.is_handshaking() {
|
||||
|
Loading…
Reference in New Issue
Block a user