Fix some typos (#2560)

* Fix some typos

Corect some words for reading more easily

* Update NOERROR response code

NOERROR is a response code so I revert the typo checking for it
This commit is contained in:
Nguyen Quang Huy 2019-02-17 15:31:12 +07:00 committed by Miek Gieben
parent 871bce3a23
commit 8d09cb243f
9 changed files with 10 additions and 10 deletions

View file

@ -118,7 +118,7 @@ type ResponseWriter struct {
// newPrefetchResponseWriter returns a Cache ResponseWriter to be used in
// prefetch requests. It ensures RemoteAddr() can be called even after the
// original connetion has already been closed.
// original connection has already been closed.
func newPrefetchResponseWriter(server string, state request.Request, c *Cache) *ResponseWriter {
// Resolve the address now, the connection might be already closed when the
// actual prefetch request is made.