Skip to content

Commit fb4f301

Browse files
committed
fix: keep alive timeout finishes transport instead of shutting down channel
1 parent 8177633 commit fb4f301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/client/http2_connection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Http2ClientConnection implements connection.ClientConnection {
113113
transport.ping();
114114
}
115115
},
116-
onPingTimeout: () => shutdown(),
116+
onPingTimeout: () => transport.finish(),
117117
);
118118
transport.onFrameReceived
119119
.listen((_) => keepAliveManager?.onFrameReceived());

0 commit comments

Comments
 (0)