Skip to content

Commit

Permalink
ACK_ECN should not be acked
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiraux committed Mar 30, 2020
1 parent da4d2cf commit 0c3ec10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packets.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (p *FramePacket) PadTo(length int) {
func (p *FramePacket) ShouldBeAcknowledged() bool {
for _, frame := range p.Frames {
switch frame.FrameType() {
case AckType, PaddingFrameType, ConnectionCloseType, ApplicationCloseType:
case AckType, AckECNType, PaddingFrameType, ConnectionCloseType, ApplicationCloseType:
default:
return true
}
Expand Down

0 comments on commit 0c3ec10

Please sign in to comment.