Skip to content

Commit

Permalink
Update internal/appsec/emitter/httpsec/roundtripper.go
Browse files Browse the repository at this point in the history
Co-authored-by: Julio Guerra <[email protected]>
  • Loading branch information
eliottness and Julio-Guerra authored Jun 3, 2024
1 parent 85a9bfd commit af120e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/appsec/emitter/httpsec/roundtripper.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func ProtectRoundTrip(ctx context.Context, url string) error {
}

var err *events.BlockingSecurityEvent
// TODO: move the data listener as a setup function of httpsec.StartRoundTripperOperation(ars, <setup>)
dyngo.OnData(op, func(e *events.BlockingSecurityEvent) {
err = e
})
Expand Down

0 comments on commit af120e7

Please sign in to comment.