Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

quic: refactoring SendPendingData #275

Closed
wants to merge 8 commits into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Jan 9, 2020

This is a multi-step cleanup of QuicApplication::SendPendingData, allowing both DefaultApplication and Http3Application to use the same base SendPendingData() logic and making the iteration over QuicStream instances in DefaultApplication more efficient by only iterating over those that have data to send.

src/quic/node_quic_default_application.cc Outdated Show resolved Hide resolved
src/quic/node_quic_session.h Outdated Show resolved Hide resolved
src/quic/node_quic_session-inl.h Outdated Show resolved Hide resolved
src/quic/node_quic_session.cc Outdated Show resolved Hide resolved
src/quic/node_quic_stream.h Outdated Show resolved Hide resolved
src/quic/node_quic_stream.cc Outdated Show resolved Hide resolved
Refactoring SendPendingData for both default and http3
applications. This a step towards unifying the logic.
For DefaultApplication, use a linked list to only iterate through
QuicStream instances that have data to send.

Use a single unified implementation of SendPendingData for
QuicApplication.
jasnell added a commit that referenced this pull request Jan 13, 2020
Refactoring SendPendingData for both default and http3
applications.

PR-URL: #275
Reviewed-By:  Anna Henningsen <anna@addaleax.net>
@jasnell
Copy link
Member Author

jasnell commented Jan 13, 2020

Landed

@jasnell jasnell closed this Jan 13, 2020
jasnell added a commit to jasnell/quic that referenced this pull request Feb 3, 2020
Refactoring SendPendingData for both default and http3
applications.

PR-URL: nodejs#275
Reviewed-By:  Anna Henningsen <anna@addaleax.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants