- Added status dot info in uptime monitor
- simplified the no response record to no_resp in default site
This commit is contained in:
Toby Chui
2025-01-18 21:49:35 +08:00
parent eeb438eb18
commit e20f816080
2 changed files with 97 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ func (h *ProxyHandler) handleRootRouting(w http.ResponseWriter, r *http.Request)
}
case DefaultSite_NoResponse:
//No response. Just close the connection
h.Parent.logRequest(r, false, 444, "root-noresponse", domainOnly)
h.Parent.logRequest(r, false, 444, "root-no_resp", domainOnly)
hijacker, ok := w.(http.Hijacker)
if !ok {
w.Header().Set("Connection", "close")