]> granicus.if.org Git - curl/commit
openssl: mark connection for close on TLS close_notify
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Apr 2019 15:22:52 +0000 (17:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 12 Apr 2019 10:17:52 +0000 (12:17 +0200)
commit3f5da4e59a556fc68272a9857a38dd75234d0c04
treebc3a459daeaf8310a730b969fe8ec5586d353113
parent687cdeb9704e372214e28483d87da15c54156bcd
openssl: mark connection for close on TLS close_notify

Without this, detecting and avoid reusing a closed TLS connection
(without a previous GOAWAY) when doing HTTP/2 is tricky.

Reported-by: Tom van der Woerdt
Fixes #3750
Closes #3763
lib/vtls/openssl.c