forked from quic-go/quic-go
remove the RequireAddressValidation callback from the Config (#4253)
This commit is contained in:
@@ -617,7 +617,7 @@ func (s *baseServer) handleInitialImpl(p receivedPacket, hdr *wire.Header) error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
if token == nil && (s.config.RequireAddressValidation(p.remoteAddr) || numHandshakesUnvalidated >= int64(s.maxNumHandshakesUnvalidated)) {
|
||||
if token == nil && numHandshakesUnvalidated >= int64(s.maxNumHandshakesUnvalidated) {
|
||||
// Retry invalidates all 0-RTT packets sent.
|
||||
delete(s.zeroRTTQueues, hdr.DestConnectionID)
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user