Merge remote-tracking branch 'origin/topic/johanna/bit-1651'

BIT-1651 #merged

* origin/topic/johanna/bit-1651:
  Fix behavior of connection_pending event
This commit is contained in:
Robin Sommer 2016-08-01 08:00:50 -07:00
commit dd06f8b290
5 changed files with 25 additions and 2 deletions

View file

@ -355,7 +355,7 @@ void TCP_Analyzer::Done()
{
Analyzer::Done();
if ( connection_pending && is_active && ! BothClosed() )
if ( terminating && connection_pending && is_active && ! BothClosed() )
Event(connection_pending);
LOOP_OVER_GIVEN_CHILDREN(i, packet_children)