Ticket #5150 enhancement new
Opened 2 years ago
Speed up twisted.protocols.tls shutdown by reducing number of roundtrips
| Reported by: | itamar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
t.p.tls shutdown currently works like this -
- A to B: TLS shutdown, please.
- B to A: OK, TLS shutdown. TCP FIN too.
- A to B: TCP FIN.
Using half-close, this could be reduced to:
- A to B: TLS shutdown, please. TCP FIN.
- B to A: OK, TLS shutdown. TCP FIN too.
Attached is a patch (against #5118 branch) that implements a working sketch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

