]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ssl: add DEFAULT_SSL_MAX_RECORD to set the record size at build time
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Feb 2014 13:55:41 +0000 (14:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Feb 2014 13:55:41 +0000 (14:55 +0100)
For some deployments it may help to have tune.ssl.maxrecord set to a
more efficient one at build time. This build setting allows this.

src/haproxy.c

index 4bd30a1d7a190e5787a611e4f008247595a90cac..5ba7a7308658a5b4fd5e2f5e3931a53d6a11dcbc 100644 (file)
@@ -142,6 +142,9 @@ struct global global = {
                .chksize = BUFSIZE,
 #ifdef USE_OPENSSL
                .sslcachesize = SSLCACHESIZE,
+#ifdef DEFAULT_SSL_MAX_RECORD
+               .ssl_max_record = DEFAULT_SSL_MAX_RECORD,
+#endif
 #endif
 #ifdef USE_ZLIB
                .zlibmemlevel = 8,