Skip to content

Commit

Permalink
Fixes STOP_SENDING frame parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiraux committed Apr 23, 2020
1 parent 0af876c commit 7059d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frames.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func NewStopSendingFrame(buffer *bytes.Reader) *StopSendingFrame {
frame := new(StopSendingFrame)
_, _ = ReadVarInt(buffer) // Discard frame type
frame.StreamId, _, _ = ReadVarIntValue(buffer)
binary.Read(buffer, binary.BigEndian, &frame.ApplicationErrorCode)
frame.ApplicationErrorCode, _, _ = ReadVarIntValue(buffer)
return frame
}

Expand Down

0 comments on commit 7059d3a

Please sign in to comment.