Dnscrypt-proxy: Feature request: DoH: configurable client side idle timeout

Created on 2 Apr 2018  路  1Comment  路  Source: DNSCrypt/dnscrypt-proxy

Right now the client side http keep-alive timeout is hard coded to 5 seconds:
https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscrypt-proxy/xtransport.go#L40

It would be nice if we could configure this to a larger value. Establishing https connections is very computationally expensive, so every time a DNS query is made after dnscrypt-proxy kills the connection , it takes an excessively long time.
In my setup I'm running dnscrypt-proxy on a consumer grade off-the-shelf router. Every time dnscrypt-proxy has to establish a new https connection, it takes about 1.8 seconds. However once the connection is established, further queries take less than 20ms.

Most helpful comment

Sure!

Done.

>All comments

Sure!

Done.

Was this page helpful?
0 / 5 - 0 ratings