Skip to content

Commit

Permalink
Fix a logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjr committed Jun 18, 2024
1 parent cf170cc commit a1bca47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (c *conn) Read(b []byte) (n int, err error) {
}
rbAll = rbAll[:rbAlln]

n = copy(b[rb5n:], rbAll)
n = copy(b[rb5n:], rbAll[rb5n:])
n += rb5n
// Cache for redirect
c.firstReadBytesForRedirect = rbAll
Expand Down

0 comments on commit a1bca47

Please sign in to comment.