don't send a packet after receiving the transport parameters

This commit is contained in:
Marten Seemann
2018-09-27 08:58:47 -06:00
parent d227c4edf7
commit 87c22187a9

View File

@@ -496,6 +496,7 @@ runLoop:
putPacketBuffer(&p.header.Raw)
case p := <-s.paramsChan:
s.processTransportParameters(&p)
continue
case _, ok := <-s.handshakeEvent:
// when the handshake is completed, the channel will be closed
s.handleHandshakeEvent(!ok)