]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Use sshbuf_read() to read directly into the channel input
authordjm@openbsd.org <djm@openbsd.org>
Sat, 22 Jan 2022 00:45:31 +0000 (00:45 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 25 Jan 2022 01:13:05 +0000 (12:13 +1100)
commita1a8efeaaa9cccb15cdc0a2bd7c347a149a3a7e3
treed701f9aa91af70fa4cec747d470ea1587c59d272
parent29a76994e21623a1f84d68ebb9dc5a3c909fa3a7
upstream: Use sshbuf_read() to read directly into the channel input

buffer rather than into a stack buffer that needs to be copied again;
Improves performance by about 1% on cipher-speed.sh feedback dtucker@ ok
markus@

OpenBSD-Commit-ID: bf5e6e3c821ac3546dc8241d8a94e70d47716572
channels.c