|
|
@@ -49,8 +49,11 @@ var (
|
|
|
// debugRingBufferMaxSizeBytes overrides the default size of the endpoint
|
|
|
// history ringbuffer.
|
|
|
debugRingBufferMaxSizeBytes = envknob.RegisterInt("TS_DEBUG_MAGICSOCK_RING_BUFFER_MAX_SIZE_BYTES")
|
|
|
- // debugPMTUD enables path MTU discovery. Currently only sets the Don't Fragment sockopt.
|
|
|
- debugPMTUD = envknob.RegisterBool("TS_DEBUG_ENABLE_PMTUD")
|
|
|
+ // debugEnablePMTUD enables the peer MTU feature, which does path MTU
|
|
|
+ // discovery on UDP connections between peers. Currently (2023-09-05)
|
|
|
+ // this only turns on the don't fragment bit for the magicsock UDP
|
|
|
+ // sockets.
|
|
|
+ debugEnablePMTUD = envknob.RegisterBool("TS_DEBUG_ENABLE_PMTUD")
|
|
|
// Hey you! Adding a new debugknob? Make sure to stub it out in the debugknob_stubs.go
|
|
|
// file too.
|
|
|
)
|