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-ws: use BigBytes to avoid copying ws messages between various buffers #480

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

asonix
Copy link
Contributor

@asonix asonix commented Nov 4, 2024

PR Type

Refactor

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 nightly rustfmt (cargo +nightly fmt).

Overview

This tries out the BigBytes changes from actix/actix-web#3368 in actix-ws, which enables websocket messages to be passed all the way through to the h1 IO resource without copying. This change primarily benefits applications that send large payloads

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.

1 participant