Accept PING frames during handshake

This commit is contained in:
Benjamin Saunders
2019-11-22 19:28:12 -08:00
committed by Dirkjan Ochtman
parent 25cab1ed61
commit 4db1d2bdab
+1 -1
View File
@@ -1571,7 +1571,7 @@ where
}
// Process frames
match frame {
Frame::Padding => {}
Frame::Padding | Frame::Ping => {}
Frame::Crypto(frame) => {
self.read_tls(packet.header.space(), &frame)?;
}