Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[connection] Constant-time stream ID allocation #403

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

XeCycle
Copy link
Contributor

@XeCycle XeCycle commented Sep 15, 2023

Hope this could supersede #338.

@XeCycle XeCycle force-pushed the alloc-id branch 2 times, most recently from 19ba58d to b0b4222 Compare September 15, 2023 05:10
Copy link

codecov bot commented Nov 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b097478) 100.00% compared to head (e03a7be) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #403   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         4542      4547    +5     
=========================================
+ Hits          4542      4547    +5     
Files Coverage Δ
src/aioquic/quic/connection.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Instead of running over all the created streams, keep track of the next
ID for unidirectional and bidirectional streams.

Co-authored-by: Jeremy Lainé <jeremy.laine@m4x.org>
@jlaine jlaine merged commit ec69a11 into aiortc:main Nov 4, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants