Compare commits

...

4 Commits
develop ... udp

Author SHA1 Message Date
0e6a258106 Merge branch 'develop' into udp
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 18:35:23 +01:00
c6e39e5ba1 Merge branch 'develop' into udp
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-12 00:18:48 +01:00
5396fe1416 Merge branch 'develop' into udp
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-06 15:53:52 +01:00
823b787ab9 better handling of udp keepalives
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-31 18:24:56 +01:00

View File

@ -239,8 +239,7 @@ func (f *Flow) produceInternal(ctx context.Context, v proxy.MacVerifier, mustRet
// adjust congestion control based on this packet's congestion header
f.congestion.ReceivedPacket(p.seq, p.nack, p.ack)
// 12 bytes for header + the MAC + a timestamp
if len(b) == 12+f.v.CodeLength()+8 {
if len(p.Contents()) == 0 {
log.Println("handled keepalive/ack only packet")
continue
}