endpointOptions.disableStatelessReset
- 类型:<boolean>
当 true 时,端点不会对来自未知连接的数据包发送无状态重置包。无状态重置允许对等方即使在服务器没有其状态时也能检测到连接已丢失。在测试中或当无状态重置在不同层处理时,禁用它们可能是有用的。
🌐 When true, the endpoint will not send stateless reset packets in response
to packets from unknown connections. Stateless resets allow a peer to detect
that a connection has been lost even when the server has no state for it.
Disabling them may be useful in testing or when stateless resets are handled
at a different layer.