implement handling of STOP_WAITING frames for incoming packets

This commit is contained in:
Lucas Clemente
2016-04-25 12:38:15 +02:00
parent 4be2ef710c
commit a1d0056867
4 changed files with 54 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ func (s *Session) HandlePacket(addr *net.UDPAddr, publicHeaderBinary []byte, pub
case *frames.ConnectionCloseFrame:
fmt.Printf("%#v\n", frame)
case *frames.StopWaitingFrame:
fmt.Printf("%#v\n", frame)
err = s.incomingAckHandler.ReceivedStopWaiting(frame)
case *frames.RstStreamFrame:
fmt.Printf("%#v\n", frame)
case *frames.WindowUpdateFrame: