fix compat with h11 0.12, add explicit dependency

This commit is contained in:
Maximilian Hils 2021-01-01 15:06:29 +01:00
parent 36d5a198b8
commit 3432cc397b
2 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,6 @@ class Http1Connection(HttpConnection, metaclass=abc.ABCMeta):
if self.buf:
already_received = self.buf.maybe_extract_at_most(len(self.buf))
yield from self.state(events.DataReceived(self.conn, already_received))
self.buf.compress()
def passthrough(self, event: events.Event) -> layer.CommandGenerator[None]:
assert self.stream_id

View File

@ -73,6 +73,7 @@ setup(
"click>=7.0,<8",
"cryptography>=3.3,<3.4",
"flask>=1.1.1,<1.2",
"h11>=0.11,<0.13",
"h2>=4.0,<5",
"hyperframe>=6.0,<7",
"kaitaistruct>=0.7,<0.10",