]> git.ipfire.org Git - thirdparty/curl.git/commit
hsts: CURLSTS_FAIL from hsts read callback should fail transfer
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Sep 2021 06:40:21 +0000 (08:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Sep 2021 10:36:12 +0000 (12:36 +0200)
commitda2598f823e95020defd54c6fdf3c82331ef12b3
tree86f8b1f9723dc45d94b58ec90eec52bf01275f4b
parent5b7aaefc07de0638f84cc9ef6c813123e7128cba
hsts: CURLSTS_FAIL from hsts read callback should fail transfer

... and have CURLE_ABORTED_BY_CALLBACK returned.

Extended test 1915 to verify.

Reported-by: Jonathan Cardoso
Fixes #7726
Closes #7729
docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3
lib/hsts.c
lib/hsts.h
lib/transfer.c
tests/data/test1915
tests/libtest/lib1915.c