[libsoup/wip/http2: 2/3] http2: Ignore coverage of unsupported frames
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/http2: 2/3] http2: Ignore coverage of unsupported frames
- Date: Mon, 17 May 2021 17:14:52 +0000 (UTC)
commit 52b0350173aefb48a5e69e4ac6ac2f3941c6a21b
Author: Patrick Griffis <pgriffis igalia com>
Date: Mon May 17 11:46:27 2021 -0500
http2: Ignore coverage of unsupported frames
libsoup/http2/soup-client-message-io-http2.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/http2/soup-client-message-io-http2.c b/libsoup/http2/soup-client-message-io-http2.c
index ed9bc310..e7caaa13 100644
--- a/libsoup/http2/soup-client-message-io-http2.c
+++ b/libsoup/http2/soup-client-message-io-http2.c
@@ -139,14 +139,15 @@ frame_type_to_string (nghttp2_frame_type type)
return "RST_STREAM";
case NGHTTP2_SETTINGS:
return "SETTINGS";
- case NGHTTP2_PUSH_PROMISE:
- return "PUSH_PROMISE";
case NGHTTP2_PING:
return "PING";
case NGHTTP2_GOAWAY:
return "GOAWAY";
case NGHTTP2_WINDOW_UPDATE:
return "WINDOW_UPDATE";
+ /* LCOV_EXCL_START */
+ case NGHTTP2_PUSH_PROMISE:
+ return "PUSH_PROMISE";
case NGHTTP2_CONTINUATION:
return "CONTINUATION";
case NGHTTP2_ALTSVC:
@@ -156,6 +157,7 @@ frame_type_to_string (nghttp2_frame_type type)
default:
g_warn_if_reached ();
return "UNKNOWN";
+ /* LCOV_EXCL_STOP */
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]