]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: if the buffer exists, refuse the new BUFFERSIZE
authorDaniel Stenberg <daniel@haxx.se>
Fri, 21 Aug 2020 14:19:27 +0000 (16:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Aug 2020 07:08:56 +0000 (09:08 +0200)
commitbc3b5bcf87f9fe16514f8cfd84cded24a367ac95
tree539275ba98110c9e81a24edf7165fc27b8584a62
parentfab51852751598a9eccde6615d62194ab6840adc
setopt: if the buffer exists, refuse the new BUFFERSIZE

The buffer only exists during transfer and then we shouldn't change the
size (the setopt is not documented to work then).

Reported-by: Harry Sintonen
Closes #5842
lib/setopt.c