mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
websocket: Handle breaking from WebSocket::configure_analyzer()
...and various nits from the review.
This commit is contained in:
parent
015a7c5fbc
commit
9654226075
8 changed files with 78 additions and 15 deletions
|
@ -22,7 +22,9 @@ WebSocket_Analyzer::WebSocket_Analyzer(Connection* conn) : analyzer::tcp::TCP_Ap
|
|||
void WebSocket_Analyzer::Init() {
|
||||
tcp::TCP_ApplicationAnalyzer::Init();
|
||||
|
||||
// This event calls back via Configure()
|
||||
// This event gives scriptland a chance to log and configure the analyzer.
|
||||
// The WebSocket analyzer ships with a handler that calls back into
|
||||
// Configure(), via WebSocket::__configure_analyzer().
|
||||
zeek::BifEvent::enqueue_websocket_established(this, Conn(), GetID());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue