From c03a75f15d5316e2a1bcc5f46550da5b24c314e6 Mon Sep 17 00:00:00 2001 From: pgjones Date: Mon, 27 May 2024 21:20:19 +0100 Subject: [PATCH] Bugfix pass the correct quic connection to the H3 Protocol This was a mistake in the recent QUIC work. Odd that mypy didn't pick this up. --- src/hypercorn/protocol/quic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hypercorn/protocol/quic.py b/src/hypercorn/protocol/quic.py index 2a15c433..40625a65 100644 --- a/src/hypercorn/protocol/quic.py +++ b/src/hypercorn/protocol/quic.py @@ -133,7 +133,7 @@ async def _handle_events( self.state, client, self.server, - connection, + connection.quic, partial(self.send_all, connection), ) elif isinstance(event, ConnectionIdIssued):