actix-web
actix-web copied to clipboard
actix-web-actors: take the internal buffer when yielding
PR Type
Bug Fix i think
PR Checklist
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [x] A changelog entry has been made for the appropriate packages.
- [x] Format code with the latest stable rustfmt.
- [x] (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 https://github.com/actix/actix-web/issues/3367