diff options
author | lu4p <lu4p@pm.me> | 2019-12-05 00:28:13 +0100 |
---|---|---|
committer | Matt Holt <mholt@users.noreply.github.com> | 2019-12-04 16:28:13 -0700 |
commit | 68adfdc559e3a97f19ec85ec2e1e5d3ceae20161 (patch) | |
tree | 54de3b9d0ad402779e63a3357656fece19a04c6c /modules/caddyhttp | |
parent | a841688cc030f6fe3991fdf3f5a12d280591536b (diff) |
Fix misspellings (#2908)
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/reverseproxy/reverseproxy.go | 2 | ||||
-rw-r--r-- | modules/caddyhttp/server.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/reverseproxy.go b/modules/caddyhttp/reverseproxy/reverseproxy.go index 98118c2..87895e2 100644 --- a/modules/caddyhttp/reverseproxy/reverseproxy.go +++ b/modules/caddyhttp/reverseproxy/reverseproxy.go @@ -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, diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index 17860ed..fef887d 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -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) |