Opened 11 years ago
#5150 enhancement new
Speed up twisted.protocols.tls shutdown by reducing number of roundtrips
Reported by: | Itamar Turner-Trauring | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Keywords: | |
Cc: | Branch: | ||
Author: |
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 (1)
Note: See
TracTickets for help on using
tickets.
Patch against #5118 branch (or trunk, if merged)