apple / swift-nio-ssl

TLS Support for SwiftNIO, based on BoringSSL.
https://swiftpackageindex.com/apple/swift-nio-ssl/main/documentation/niossl
Apache License 2.0
388 stars 139 forks source link

Tolerate massive writes #384

Closed Lukasa closed 2 years ago

Lukasa commented 2 years ago

Motivation:

In rare cases, users may attempt to write more data than can be expressed in 2**31 bytes. This should not crash our program.

Modifications:

Result:

Users who send hilariously long writes can do so.