mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-20 19:04:11 +02:00
hotfix(pmtud/tcp): block kernel from racing to send RST packets
- this makes PMTUD TCP reliable - this only works on kernels with the mark module - on kernels without the mark module, the icmp pmtud mtu found is used
This commit is contained in:
@@ -31,6 +31,10 @@ func recvFrom(fd fileDescriptor, p []byte, flags int) (n int, from windows.Socka
|
||||
return windows.Recvfrom(windows.Handle(fd), p, flags)
|
||||
}
|
||||
|
||||
func setMark(fd windows.Handle, _ int) error {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func setMTUDiscovery(fd windows.Handle) error {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user