cmp_http.c: extend comment in keep_alive()

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)
This commit is contained in:
Dr. David von Oheimb 2022-07-01 20:25:55 +02:00 committed by Dr. David von Oheimb
parent 4798e0680b
commit 93d9d60976

View File

@ -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