-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
area/documentationImprovements or additions to documentation.Improvements or additions to documentation.
Description
The docs for NIOSSLError.uncleanShutdown
are non-existent today. But understanding when uncleanShutdown
is and when it's not a security issue (truncation attack) is quite important. So I think we should document it.
This contains some information: swift-server/async-http-client#238 (comment)
Particularly interesting would be examples of protocols where this matters and where it doesn't. E.g.
- HTTP/2: safe to ignore (always framed)
- WebSocket: safe to ignore (always framed)
- HTTP/1.1 with
content-length
or chunked encoding: safe to ignore (framed) - HTTP/1 with EOF framing: NOT safe to ignore
- ...
Metadata
Metadata
Assignees
Labels
area/documentationImprovements or additions to documentation.Improvements or additions to documentation.