mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
Motivation: We were one of the few first-party users of writeWithUnsafeMutableWritableBytes, and so we hit some build warnings. We should use the nice interface to request the number of bytes we actually want. Modifications: - Remove build warnings. - Correctly ask to read a whole SSL record instead of a fragment of one. Result: Better code