From eb488e7d3ee171e582dd4f44c0d17c6cc2a567b5 Mon Sep 17 00:00:00 2001 From: Moritz Date: Mon, 2 Sep 2024 15:50:44 +0200 Subject: [PATCH] Revert changes on file --- lib/src/client/http2_connection.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/client/http2_connection.dart b/lib/src/client/http2_connection.dart index 4cce6771..998410a1 100644 --- a/lib/src/client/http2_connection.dart +++ b/lib/src/client/http2_connection.dart @@ -113,7 +113,7 @@ class Http2ClientConnection implements connection.ClientConnection { transport.ping(); } }, - onPingTimeout: () => transport.finish(), + onPingTimeout: () => shutdown(), ); transport.onFrameReceived .listen((_) => keepAliveManager?.onFrameReceived());