server.keepAliveTimeoutBuffer
-
类型:<number> 超时(以毫秒为单位)。默认值:
1000
(1 秒)。¥Type: <number> Timeout in milliseconds. Default:
1000
(1 second).
在 server.keepAliveTimeout
中添加额外的缓冲时间,以延长内部套接字超时。
¥An additional buffer time added to the
server.keepAliveTimeout
to extend the internal socket timeout.
此缓冲区通过将套接字超时时间略微延长至通告的保持活动超时时间,有助于减少连接重置 (ECONNRESET
) 错误。
¥This buffer helps reduce connection reset (ECONNRESET
) errors by increasing
the socket timeout slightly beyond the advertised keep-alive timeout.
此选项仅适用于新传入的连接。
¥This option applies only to new incoming connections.