]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ssl: CO_FL_EARLY_DATA removal is managed by stream
authorEmmanuel Hocdet <manu@gandi.net>
Mon, 27 Nov 2017 15:14:40 +0000 (16:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Nov 2017 13:34:47 +0000 (14:34 +0100)
Manage BoringSSL early_data as it is with openssl 1.1.1.

src/ssl_sock.c

index da6f2ded6b3960c22d4495e4d8a9fb3ccbbb062d..da1aecbccd280b1fb10abadd45c42ccc8554e5f9 100644 (file)
@@ -5386,7 +5386,7 @@ static int ssl_sock_to_buf(struct connection *conn, struct buffer *buf, int coun
                                if (ret > 0)
                                        conn->flags |= CO_FL_EARLY_DATA;
                        } else {
-                               conn->flags &= ~(CO_FL_EARLY_SSL_HS | CO_FL_EARLY_DATA);
+                               conn->flags &= ~(CO_FL_EARLY_SSL_HS);
                        }
                }
 #endif