mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
HTTP fix for output handlers.
Had broken that with the CONNECT change.
This commit is contained in:
parent
d0f8edb2a4
commit
0f4c7080cc
1 changed files with 9 additions and 0 deletions
|
@ -798,8 +798,11 @@ void SupportAnalyzer::ForwardPacket(int len, const u_char* data, bool is_orig,
|
|||
// We do not call parent's method, as we're replacing the functionality.
|
||||
|
||||
if ( GetOutputHandler() )
|
||||
{
|
||||
GetOutputHandler()->DeliverPacket(len, data, is_orig, seq,
|
||||
ip, caplen);
|
||||
return;
|
||||
}
|
||||
|
||||
SupportAnalyzer* next_sibling = Sibling(true);
|
||||
|
||||
|
@ -816,7 +819,10 @@ void SupportAnalyzer::ForwardStream(int len, const u_char* data, bool is_orig)
|
|||
// We do not call parent's method, as we're replacing the functionality.
|
||||
|
||||
if ( GetOutputHandler() )
|
||||
{
|
||||
GetOutputHandler()->DeliverStream(len, data, is_orig);
|
||||
return;
|
||||
}
|
||||
|
||||
SupportAnalyzer* next_sibling = Sibling(true);
|
||||
|
||||
|
@ -833,7 +839,10 @@ void SupportAnalyzer::ForwardUndelivered(int seq, int len, bool is_orig)
|
|||
// We do not call parent's method, as we're replacing the functionality.
|
||||
|
||||
if ( GetOutputHandler() )
|
||||
{
|
||||
GetOutputHandler()->Undelivered(seq, len, is_orig);
|
||||
return;
|
||||
}
|
||||
|
||||
SupportAnalyzer* next_sibling = Sibling(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue