Skip to content

Commit

Permalink
Oh, Google updated their servers, and "body" is not required any more!
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 3, 2018
1 parent 8de1384 commit d58d5ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
- DNS options used to be cleared from DNS queries, with the exception
of flags and payload sizes. This is not the case any more.
- Android builds use a newer NDK, and add compatibility with API 19.
- DoH queries are smaller, since workarounds are not required any more
after Google updated their implementation.

* Version 2.0.16
- On Unix-like systems, the server can run as an unprivileged user,
Expand Down
1 change: 0 additions & 1 deletion dnscrypt-proxy/xtransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ func (xTransport *XTransport) DoHQuery(useGet bool, url *url.URL, body []byte, t
qs := url.Query()
qs.Add("ct", "")
encBody := base64.RawURLEncoding.EncodeToString(body)
qs.Add("body", encBody)
qs.Add("dns", encBody)
if padding != nil {
qs.Add("random_padding", *padding)
Expand Down

0 comments on commit d58d5ff

Please sign in to comment.