-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tls-mirage: do not FLOW.close on error this is the responsibility of the caller (esp. since we'll have half-closed flows soon) * refine engine for shutdown * Engine: guard functions with write_closed * lwt: adapt to shutdown API * lwt: only open Lwt.Infix, not Lwt * tls-lwt: improve failure message * tls-lwt: use reraise instead of fail * tls-mirage support for shutdown * tls-mirage: eof on read_closed * tls-mirage: only close in close * minimal changes to get eio and async compiling * randomconv dependency: move to tls-lwt, restrict to < 0.2.0 * tls-lwt: add ptime dependency * read: a closed results in eof * tls-eio: update for new shutdown system This is a direct port of the changes to tls-lwt to tls-eio. * tls-eio: update fuzz tests to test half-shutdown --------- Co-authored-by: Thomas Leonard <talex5@gmail.com>
- Loading branch information
Showing
14 changed files
with
395 additions
and
323 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
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
Oops, something went wrong.