Properly handle keep-alive for HTTP/1.1. If the server uses HTTP/1.1
authorclaudio <claudio@openbsd.org>
Fri, 10 Sep 2021 13:20:03 +0000 (13:20 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 10 Sep 2021 13:20:03 +0000 (13:20 +0000)
commit9ffee6653a5670305f5588b5265c34a23b6146f1
tree8dfd087afc8e128ea0d8975128dba97d1984fa54
parent86dcadab37f5f90eb1aabdd2ccc3ca9929315428
Properly handle keep-alive for HTTP/1.1. If the server uses HTTP/1.1
keep-alive is the default. Check this early on and disable keep-alive
if a Connection: closed header is sent. Fixes the keep-alive issues
I have seen.
OK sthen@
usr.sbin/rpki-client/http.c