From: Willy Tarreau Date: Wed, 12 Feb 2014 13:55:41 +0000 (+0100) Subject: MINOR: ssl: add DEFAULT_SSL_MAX_RECORD to set the record size at build time X-Git-Tag: v1.5-dev23~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03effc15d64618f86a6586ff73f33a0c4a591012;p=thirdparty%2Fhaproxy.git MINOR: ssl: add DEFAULT_SSL_MAX_RECORD to set the record size at build time 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. --- diff --git a/src/haproxy.c b/src/haproxy.c index 4bd30a1d7a..5ba7a73086 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -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,