Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus committed Nov 14, 2023
1 parent 9fb1947 commit b0f8bc4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/corazawaf/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,12 @@ func (tx *Transaction) RemoveRuleByTag(tag string) {
}
}

func (tx *Transaction) RemoveRulesByTag(tag ...string) {
for _, t := range tag {
tx.RemoveRuleByTag(t)
}
}

// ProcessConnection should be called at very beginning of a request process, it is
// expected to be executed prior to the virtual host resolution, when the
// connection arrives on the server.
Expand Down

0 comments on commit b0f8bc4

Please sign in to comment.