Skip to content

Commit

Permalink
Fix "strategy rejected" for DNS IP rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhkwong authored Apr 14, 2024
1 parent 29c23c4 commit a2c844b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ func (c *Client) ExchangeWithResponseCheck(ctx context.Context, transport Transp
if c.logger != nil {
c.logger.DebugContext(ctx, "strategy rejected")
}
if responseChecker != nil {
return &responseMessage, ErrResponseRejected
}
return &responseMessage, nil
}
if !transport.Raw() {
Expand Down

0 comments on commit a2c844b

Please sign in to comment.