diff --git a/src/http_ana.c b/src/http_ana.c index 2891f056b..25110f18c 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -520,7 +520,7 @@ int http_process_req_common(struct stream *s, struct channel *req, int an_bit, s } if (conn && (conn->flags & CO_FL_EARLY_DATA) && - (conn->flags & (CO_FL_EARLY_SSL_HS | CO_FL_HANDSHAKE))) { + (conn->flags & (CO_FL_EARLY_SSL_HS | CO_FL_SSL_WAIT_HS))) { struct http_hdr_ctx ctx; ctx.blk = NULL; diff --git a/src/ssl_sock.c b/src/ssl_sock.c index b4e118c2b..d61e87200 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -7393,7 +7393,7 @@ smp_fetch_ssl_fc_has_early(const struct arg *args, struct sample *smp, const cha } #else smp->data.u.sint = ((conn->flags & CO_FL_EARLY_DATA) && - (conn->flags & (CO_FL_EARLY_SSL_HS | CO_FL_HANDSHAKE))) ? 1 : 0; + (conn->flags & (CO_FL_EARLY_SSL_HS | CO_FL_SSL_WAIT_HS))) ? 1 : 0; #endif return 1; }