From: Dr. David von Oheimb Date: Fri, 1 Jul 2022 18:25:55 +0000 (+0200) Subject: cmp_http.c: extend comment in keep_alive() X-Git-Tag: openssl-3.2.0-alpha1~2410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d9d6097685dc29e654db15c091c550aef16d5b;p=thirdparty%2Fopenssl.git cmp_http.c: extend comment in keep_alive() Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/18702) --- diff --git a/crypto/cmp/cmp_http.c b/crypto/cmp/cmp_http.c index c7d24c17957..22144764a48 100644 --- a/crypto/cmp/cmp_http.c +++ b/crypto/cmp/cmp_http.c @@ -29,7 +29,10 @@ static int keep_alive(int keep_alive, int body_type) { if (keep_alive != 0 - /* Ask for persistent connection only if may need more round trips */ + /* + * Ask for persistent connection only if may need more round trips. + * Do so even with disableConfirm because polling might be needed. + */ && body_type != OSSL_CMP_PKIBODY_IR && body_type != OSSL_CMP_PKIBODY_CR && body_type != OSSL_CMP_PKIBODY_P10CR