Skip to content

Commit

Permalink
relax check
Browse files Browse the repository at this point in the history
Signed-off-by: xhe <[email protected]>
  • Loading branch information
xhebox committed Dec 1, 2023
1 parent 182ca58 commit 3fe459f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/backend/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ loop:
if err != nil {
// tiproxy pp enabled, tidb pp disabled, tls disabled => invalid sequence
// tiproxy pp disabled, tidb pp enabled, tls disabled => invalid sequence
if pktIdx == 0 && auth.proxyProtocol {
if pktIdx == 0 {
return errors.Wrap(ErrBackendPPV2, err)
}
return err
Expand Down

0 comments on commit 3fe459f

Please sign in to comment.