sessionOptions.drainingPeriodMultiplier
- 类型:<number>
- 默认:
3
在收到来自对等方的 CONNECTION_CLOSE 帧后,一个应用于探测超时 (PTO) 的乘数,用于计算排空期的持续时间。RFC 9000 第 10.2 节要求排空期至少持续当前 PTO 的三倍。有效范围是 3 到 255。低于 3 的值会被钳制为 3。
🌐 A multiplier applied to the Probe Timeout (PTO) to compute the draining
period duration after receiving a CONNECTION_CLOSE frame from the peer.
RFC 9000 Section 10.2 requires the draining period to persist for at least
three times the current PTO. The valid range is 3 to 255. Values below
3 are clamped to 3.