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

Wake Future when EOF is received

Open centromere opened this issue 11 months ago • 1 comments

PR Type

Bug fix

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

When a TCP FIN is received, the Future needs to be awakened. Without this, it is not possible to detect a connection closure in end-user applications.

Relates to: https://github.com/actix/actix-web/pull/3093

centromere avatar Nov 01 '24 02:11 centromere