summaryrefslogtreecommitdiffstats
path: root/src/nghttp.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:53:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:53:04 +0000
commit7c706d82095060c9b688aee9874199b32e4c96cd (patch)
tree2659204f2c602ab45a1cef883fb75d1946f47fdf /src/nghttp.cc
parentAdding debian version 1.60.0-1. (diff)
downloadnghttp2-7c706d82095060c9b688aee9874199b32e4c96cd.tar.xz
nghttp2-7c706d82095060c9b688aee9874199b32e4c96cd.zip
Merging upstream version 1.61.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/nghttp.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nghttp.cc b/src/nghttp.cc
index f670320..6684374 100644
--- a/src/nghttp.cc
+++ b/src/nghttp.cc
@@ -2322,6 +2322,14 @@ int communicate(
goto fin;
}
#endif // NGHTTP2_OPENSSL_IS_BORINGSSL && HAVE_LIBBROTLI
+
+ if (tls::setup_keylog_callback(ssl_ctx) != 0) {
+ std::cerr << "[ERROR] Failed to setup keylog" << std::endl;
+
+ result = -1;
+
+ goto fin;
+ }
}
{
HttpClient client{callbacks, loop, ssl_ctx};