]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: close the connection when h2=>h1 downgrading
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2021 12:13:18 +0000 (13:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2021 15:18:13 +0000 (16:18 +0100)
commit7b6bfd2d78cfead3f1dfadbcedc92e4fbb24ff7c
treeccf11d0425dc4957bc2c7727d1e58001c360c1cc
parentdb4e0bd85f994d14c950f4a7378be550331cf5b0
multi: close the connection when h2=>h1 downgrading

Otherwise libcurl is likely to reuse the connection again in the next
attempt since the connection reuse logic doesn't take downgrades into
account.

Reported-by: Anthony Ramine
Fixes #6788
Closes #6793
lib/multi.c