This commit is contained in:
ginuerzh
2022-03-12 19:23:19 +08:00
parent 4364190e6d
commit 4007e80811
10 changed files with 26 additions and 20 deletions

View File

@ -179,7 +179,8 @@ func (h *httpHandler) handleRequest(ctx context.Context, conn net.Conn, req *htt
dump, _ := httputil.DumpResponse(resp, false)
log.Debug(string(dump))
}
return resp.Write(conn)
resp.Write(conn)
return err
}
defer cc.Close()