]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix SNI on resumed sessions by acknowledging the name sent by the client
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 7 Jan 2021 15:41:32 +0000 (16:41 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 7 Jan 2021 15:41:32 +0000 (16:41 +0100)
commit767a9d3a727a4a3b4073f01fab4b2c1d7c55d73e
treeaeb841542467adb859ee0ee8c9b596081cc66fb9
parenta897e196fedd7a779a538d027dfeb4ed7476e952
dnsdist: Fix SNI on resumed sessions by acknowledging the name sent by the client

Otherwise `SSL_get_servername()` only returns true when the session
has been freshly established, and will return `nullptr` when it is
resumed.
pdns/dnsdistdist/libssl.cc