dyne / dohd

Very fast DNS-over-HTTPS to DNS proxy with emphasis on privacy (no logging)
https://dyne.github.io/dohd/
GNU Affero General Public License v3.0
24 stars 6 forks source link

Add HTTP/2 support #6

Closed danielinux closed 2 years ago

danielinux commented 2 years ago

dohd can already be compiled with HTTP2_MODE set to 1. This will force the client to use HTTP/2, due to the ALPN records in TLS.

Write a HTTP2 parser for the request, and associate a HTTP2 reply to each.

Cfr. RFC8484 sec. 5.2

   HTTP/2 [RFC7540] is the minimum RECOMMENDED version of HTTP for use
   with DoH.
danielinux commented 2 years ago

Fixed in #9