Skip to content

Commit

Permalink
Fix captured range variable (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
folbricht authored Mar 23, 2024
1 parent 3aa67c5 commit f4a2c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (c *Pipeline) start() {
}
wg.Add(2)

go func() { c.requests <- req }() // re-queue the request that triggered the upstream connection
go func(r *request) { c.requests <- r }(req) // re-queue the request that triggered the upstream connection

go func() { // writer
for {
Expand Down

0 comments on commit f4a2c2d

Please sign in to comment.