aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'netlib')
-rw-r--r--netlib/http/http2/protocol.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/netlib/http/http2/protocol.py b/netlib/http/http2/protocol.py
index 2fbe7705..4328ebdd 100644
--- a/netlib/http/http2/protocol.py
+++ b/netlib/http/http2/protocol.py
@@ -285,6 +285,8 @@ class HTTP2Protocol(semantics.ProtocolMixin):
return True
def _handle_unexpected_frame(self, frm):
+ if isinstance(frm, frame.SettingsFrame):
+ return
if self.unhandled_frame_cb:
self.unhandled_frame_cb(frm)