forked from google/boringssl
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hold off flushing NewSessionTicket until write.
In TLS 1.3, if the client doesn't read from the server, the server might hang from a filled buffer while waiting for the client to read. Instead we avoid flushing the NewSessionTicket until there is a write from the server. Update-Note: This delays the flushing of the NewSessionTicket until the first write. Consumers may need to force an empty write to send the tickets if they aren't writing any data to the client. Change-Id: Iec92043567e9a68c0a250533b7745eddeeae2341 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/34948 Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: David Benjamin <davidben@google.com>
- Loading branch information
Showing
2 changed files
with
123 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters