Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
http: Report unmatched requests or responses #6794
Until now, unmatched requests or responses are silently discarded by the http plugin.
This patch makes two changes to this behavior:
Thanks @urso, I've addressed your comment.
Also, I've included a fix for a race condition when expired streams are notified. libbeat's common.Cache uses a separate goroutine for the janitor, and removal notifications from the cache are reported from this goroutine. I've refactored it so that plugins are notified about this event from the same goroutine that handles the packet processing. Give me your opinion on it, it's all on the first commit,