aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorGravatar cui fliter <imcusg@gmail.com> 2023-03-04 00:43:44 +0800
committerGravatar GitHub <noreply@github.com> 2023-03-03 17:43:44 +0100
commitac631aa4eb931bef87a03eda7faa3d9e94cb4010 (patch)
tree1434043d76c516e66898dce0c236d872a95cd727 /client.go
parenttest: bind to localhost instead of all interfaces (#1495) (diff)
downloadfasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.tar.gz
fasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.tar.bz2
fasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.zip
fix functiom name (#1505)
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 532c751..4aaaee7 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 {