mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +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)
|
||||
paddedLen := dohPaddedLen(responseLen)
|
||||
padLen := responseLen - paddedLen
|
||||
padLen := paddedLen - responseLen
|
||||
paddedResponse, err := addEDNS0PaddingIfNoneFound(&msg, response, padLen)
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue