mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-27 05:04:24 +00:00
Motivation: The TLS echo server was doing a few stupid things it didn't need to. That was greatly slowing it down when testing raw throughput, and also demonstrating bad coding style. Modifications: - Stopped sending promises for writes we don't care about. - Flushed less frequently, only on channelReadComplete. - Didn't shrink maxMessagesPerRead Result: Better performance from the TLS echo server.