Rename http to local_doh

This commit is contained in:
Frank Denis 2019-11-28 17:11:14 +01:00
parent 6a679cc543
commit 068509ef30
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func (handler localDoHHandler) ServeHTTP(writer http.ResponseWriter, request *ht
dlog.Warnf("No body in a local DoH query")
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 {
writer.WriteHeader(500)
return