]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Handle yet more oNCP framing idiocy
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 13 Jan 2025 17:02:01 +0000 (17:02 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 14 Jan 2025 10:38:53 +0000 (10:38 +0000)
commit34ba4a01e909cbb5b398cb5e21737cd0c668d4d6
tree323c4b6749aece250a9084711c6e93a2d3495177
parent458efda9135bf74c6e04c3bd7f8f0e55a58b54c0
Handle yet more oNCP framing idiocy

This protocol doesn't use TLS record framing, but *does* have its own
framing, each frame starting with a very minimal 2-byte frame length.

These frames can be larger than 16KiB which is the maximum size of a TLS
record. So ensure that we loop, reading a full frame where necessary.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
oncp.c
www/changelog.xml