diff --git a/client.go b/client.go index 532c75100c..4aaaee7dc9 100644 --- a/client.go +++ b/client.go @@ -2139,7 +2139,7 @@ func (q *wantConnQueue) peekFront() *wantConn { return nil } -// cleanFront pops any wantConns that are no longer waiting from the head of the +// clearFront pops any wantConns that are no longer waiting from the head of the // queue, reporting whether any were popped. func (q *wantConnQueue) clearFront() (cleaned bool) { for { diff --git a/header.go b/header.go index f2379fb3d7..8804204c3c 100644 --- a/header.go +++ b/header.go @@ -109,7 +109,7 @@ func (h *ResponseHeader) SetContentRange(startPos, endPos, contentLength int) { h.setNonSpecial(strContentRange, h.bufKV.value) } -// SetByteRanges sets 'Range: bytes=startPos-endPos' header. +// SetByteRange sets 'Range: bytes=startPos-endPos' header. // // - If startPos is negative, then 'bytes=-startPos' value is set. // - If endPos is negative, then 'bytes=startPos-' value is set.