]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Loop when sending HTTP requests larger than the 16KiB SSL record max
authorDaniel Lenski <dlenski@gmail.com>
Wed, 29 Nov 2017 08:49:16 +0000 (00:49 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 29 Nov 2017 09:27:04 +0000 (09:27 +0000)
commit2d77040a870851a625de16938fcdda6a5494d7ed
tree5b7f5a0f4cece8ae9ec99ecab5289196822b9d6c
parent91c81882673880e7a3c3cf009f354db6335d7a0e
Loop when sending HTTP requests larger than the 16KiB SSL record max

A single SSL record can't contain >16KiB, so the HTTPS request buffer
may not get fully written if it's larger than this.

I discovered this frustrating bug while working on GlobalProtect HIP
support, which requires sending giant blobs of XML to the gateway.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
http.c
openconnect-internal.h