http2: do net let Settings frames escape
This commit is contained in:
parent
53abf5f4d7
commit
3ebe5a5147
|
@ -285,6 +285,8 @@ class HTTP2Protocol(semantics.ProtocolMixin):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _handle_unexpected_frame(self, frm):
|
def _handle_unexpected_frame(self, frm):
|
||||||
|
if isinstance(frm, frame.SettingsFrame):
|
||||||
|
return
|
||||||
if self.unhandled_frame_cb:
|
if self.unhandled_frame_cb:
|
||||||
self.unhandled_frame_cb(frm)
|
self.unhandled_frame_cb(frm)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue