mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Rename http to local_doh
This commit is contained in:
parent
6a679cc543
commit
068509ef30
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ func (handler localDoHHandler) ServeHTTP(writer http.ResponseWriter, request *ht
|
||||||
dlog.Warnf("No body in a local DoH query")
|
dlog.Warnf("No body in a local DoH query")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
response := proxy.processIncomingQuery(proxy.serversInfo.getOne(), "http", proxy.mainProto, packet, &xClientAddr, nil, start)
|
response := proxy.processIncomingQuery(proxy.serversInfo.getOne(), "local_doh", proxy.mainProto, packet, &xClientAddr, nil, start)
|
||||||
if len(response) == 0 {
|
if len(response) == 0 {
|
||||||
writer.WriteHeader(500)
|
writer.WriteHeader(500)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue