]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
cmp_http.c: extend comment in keep_alive()
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 1 Jul 2022 18:25:55 +0000 (20:25 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Mon, 11 Jul 2022 09:03:28 +0000 (11:03 +0200)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18702)

crypto/cmp/cmp_http.c

index c7d24c17957381781b77924d43c966e2bb20aa37..22144764a48a47d2ded6d155ba292fa99a1188ae 100644 (file)
 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