forked from quic-go/quic-go
only run DPLPMTUD if the connection can send packets with the DF bit set (#3879)
This commit is contained in:
@@ -4,9 +4,9 @@ package quic
|
||||
|
||||
import "syscall"
|
||||
|
||||
func setDF(rawConn syscall.RawConn) error {
|
||||
func setDF(syscall.RawConn) (bool, error) {
|
||||
// no-op on unsupported platforms
|
||||
return nil
|
||||
return false, nil
|
||||
}
|
||||
|
||||
func isMsgSizeErr(err error) bool {
|
||||
|
||||
Reference in New Issue
Block a user