mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 23:28:18 -04:00
Make dig advertise the "dot" ALPN token for DoT connections
This commit makes dig advertise the "dot" ALPN token to make it possible for ALPN to happen.
This commit is contained in:
parent
25b2c6ad96
commit
382098198e
1 changed files with 1 additions and 0 deletions
|
|
@ -2783,6 +2783,7 @@ start_tcp(dig_query_t *query) {
|
|||
if (query->lookup->tls_mode) {
|
||||
result = isc_tlsctx_createclient(&query->tlsctx);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
isc_tlsctx_enable_dot_client_alpn(query->tlsctx);
|
||||
isc_nm_tlsdnsconnect(netmgr, &localaddr,
|
||||
&query->sockaddr, tcp_connected,
|
||||
query, local_timeout, 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue