Skip to content

fix: call engine_process synchronously if possible, otherwise defer to ticker event loop#78

Merged
richard-ramos merged 3 commits into
mainfrom
feat/engine
Apr 8, 2026
Merged

fix: call engine_process synchronously if possible, otherwise defer to ticker event loop#78
richard-ramos merged 3 commits into
mainfrom
feat/engine

Conversation

@richard-ramos

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 6, 2026 23:32
@richard-ramos
richard-ramos requested a review from a team as a code owner April 6, 2026 23:32
@richard-ramos
richard-ramos requested review from gmelodie and vladopajic and removed request for a team April 6, 2026 23:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes how QUIC engine processing is triggered so that engine_process runs immediately when invoked from user code, while preventing re-entrant processing by deferring nested calls back onto the timeout-driven event loop.

Changes:

  • Add a processing re-entrancy guard to QuicContext.engine_process.
  • Change processWhenReady to call engine_process synchronously instead of only scheduling the timeout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 6, 2026 23:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@richard-ramos
richard-ramos merged commit 365467d into main Apr 8, 2026
16 checks passed
@richard-ramos
richard-ramos deleted the feat/engine branch April 23, 2026 12:38
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.

3 participants