You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Especially with long-running streams that idle most of the time, it is possible that a connection dies without the client noticing.
If this happens, the Node.js client simply hangs.
Describe the solution you'd like
Send PING frames in an interval to monitor the connection state in all Transports from @bufbuild/connect-node with httpVersion: "2". Raise an error if the peer does not respond within a certain duration.
Is your feature request related to a problem? Please describe.
Especially with long-running streams that idle most of the time, it is possible that a connection dies without the client noticing.
If this happens, the Node.js client simply hangs.
Describe the solution you'd like
Send PING frames in an interval to monitor the connection state in all Transports from @bufbuild/connect-node with
httpVersion: "2"
. Raise an error if the peer does not respond within a certain duration.Additional context
gRCP Core support it, as described in https://github.com/grpc/grpc/blob/master/doc/keepalive.md
The text was updated successfully, but these errors were encountered: