From: Remi Gacogne Date: Tue, 20 Dec 2016 08:50:32 +0000 (+0100) Subject: Merge pull request #4623 from rgacogne/rec-tcp-rfc7766-section10 X-Git-Tag: dnsdist-1.1.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e32021b96d8c9a0bf617b0fc35a38b998b66fd1d;p=thirdparty%2Fpdns.git Merge pull request #4623 from rgacogne/rec-tcp-rfc7766-section10 rec: Add TCP management options described in section 10 of rfc7766 --- e32021b96d8c9a0bf617b0fc35a38b998b66fd1d diff --cc pdns/pdns_recursor.cc index 9608e298ba,bfdeac602f..bd79bb4a27 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@@ -91,8 -91,9 +91,9 @@@ extern SortList g_sortlist #endif __thread FDMultiplexer* t_fdm; -__thread unsigned int t_id; +static __thread unsigned int t_id; unsigned int g_maxTCPPerClient; + size_t g_tcpMaxQueriesPerConn; unsigned int g_networkTimeoutMsec; uint64_t g_latencyStatSize; bool g_logCommonErrors;