http2: do net let Settings frames escape

This commit is contained in:
Thomas Kriechbaumer 2015-09-03 21:22:55 +02:00
parent 53abf5f4d7
commit 3ebe5a5147
1 changed files with 2 additions and 0 deletions

View File

@ -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)