Skip to content

Commit

Permalink
Bump aioquic to 1.2.0 (#48344)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashi authored Sep 26, 2024
1 parent e2853e8 commit ed11dbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tools/webtransport/h3/webtransport_h3_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,16 @@ def send_datagram(self, data: bytes) -> None:
_logger.warn(
"Sending a datagram while that's now allowed - discarding it")
return
flow_id = self.session_id
stream_id = self.session_id
if self._http.datagram_setting is not None:
# We must have a WebTransport Session ID at this point because
# an extended CONNECT request is already received.
assert self._protocol._session_stream_id is not None
# TODO(yutakahirano): Make sure if this is the correct logic.
# Chrome always use 0 for the initial stream and the initial flow
# ID, we cannot check the correctness with it.
flow_id = self._protocol._session_stream_id // 4
self._http.send_datagram(flow_id=flow_id, data=data)
stream_id = self._protocol._session_stream_id
self._http.send_datagram(stream_id=stream_id, data=data)

def stop_stream(self, stream_id: int, code: int) -> None:
"""
Expand Down
2 changes: 1 addition & 1 deletion tools/webtransport/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aioquic==0.9.21
aioquic==1.2.0
2 changes: 1 addition & 1 deletion tools/wptrunner/requirements_chromium.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aioquic==0.9.21
aioquic==1.2.0

0 comments on commit ed11dbe

Please sign in to comment.