mirror of https://github.com/ctz/rustls
a94a0055e1
This avoids a couple of unnecessary allocations: the individual Payloads of the fragmented messages were allocating and filling a Vec, and the call sites were allocating a VecDeque to be filled with messages. Instead, always return an iterator of BorrowedPlainMessage, which the caller can iterate over. |
||
---|---|---|
.. | ||
corpus | ||
fuzzers | ||
.gitignore | ||
Cargo.toml |