actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

actix-http::ws: Remove redundant + 4 byte reservation when masked

Open asonix opened this issue 1 year ago • 0 comments

PR Type

Bugfix

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.
  • [ ] (Team) Label with affected crates and semver status.

Overview

I noticed the mask caused a +4 to apply twice, once on line 175, and once again when reserving space

asonix avatar May 19 '24 15:05 asonix