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

actix-web-actors: take the internal buffer when yielding #3369

Merged
merged 3 commits into from
Jun 9, 2024

Conversation

asonix
Copy link
Contributor

@asonix asonix commented May 18, 2024

PR Type

Bug Fix i think

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

This just takes the internal buffer when yielding in the websocket context future rather than splitting it. The result is that the internal buffer is not re-used between yields, but it also no longer grows perpetually

relates to #3367

@robjtede robjtede added B-semver-patch A-actors project: actix-web-actors labels May 18, 2024
Copy link
Member

@robjtede robjtede left a comment

Choose a reason for hiding this comment

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

makes sense 👍🏻

@robjtede robjtede added this pull request to the merge queue Jun 9, 2024
Merged via the queue into actix:master with commit f7646bc Jun 9, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-actors project: actix-web-actors B-semver-patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants