add keepalive option for tunnel entrypoint

This commit is contained in:
ginuerzh
2024-10-14 23:09:07 +08:00
parent 0ffed81601
commit 5bba004324
7 changed files with 251 additions and 140 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ func (h *httpHandler) handleRequest(ctx context.Context, conn net.Conn, req *htt
clientID, ok := h.authenticate(ctx, conn, req, resp, log)
if !ok {
return errors.New("authenication failed")
return errors.New("authentication failed")
}
ctx = ctxvalue.ContextWithClientID(ctx, ctxvalue.ClientID(clientID))