mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-13 10:42:16 -04:00
Fix misspellings (#2908)
This commit is contained in:
@@ -234,7 +234,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyht
|
||||
// etc.) - this obviously has a perf
|
||||
// overhead and makes the proxy at
|
||||
// risk of exhausting memory and more
|
||||
// suseptible to slowloris attacks,
|
||||
// susceptible to slowloris attacks,
|
||||
// so it is strongly recommended to
|
||||
// only use this feature if absolutely
|
||||
// required, if read timeouts are set,
|
||||
|
||||
@@ -399,7 +399,7 @@ func errLogValues(err error) (status int, msg string, fields []zapcore.Field) {
|
||||
// (into the urlCopy parameter, which should be on the
|
||||
// stack), req.RequestURI, and req.RemoteAddr. Notably,
|
||||
// headers are not copied. This function is designed to
|
||||
// be very fast and efficient, and useful primarly for
|
||||
// be very fast and efficient, and useful primarily for
|
||||
// read-only/logging purposes.
|
||||
func originalRequest(req *http.Request, urlCopy *url.URL) http.Request {
|
||||
cloneURL(req.URL, urlCopy)
|
||||
|
||||
Reference in New Issue
Block a user