mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 22:27:37 +03:00
parent
d14d2b613a
commit
cf1498c9f4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ func (handler localDoHHandler) ServeHTTP(writer http.ResponseWriter, request *ht
|
||||||
}
|
}
|
||||||
responseLen := len(response)
|
responseLen := len(response)
|
||||||
paddedLen := dohPaddedLen(responseLen)
|
paddedLen := dohPaddedLen(responseLen)
|
||||||
padLen := responseLen - paddedLen
|
padLen := paddedLen - responseLen
|
||||||
paddedResponse, err := addEDNS0PaddingIfNoneFound(&msg, response, padLen)
|
paddedResponse, err := addEDNS0PaddingIfNoneFound(&msg, response, padLen)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue