Merge remote-tracking branch 'origin/topic/jsiwek/flip-roles'

* origin/topic/jsiwek/flip-roles:
  Improve analysis of TCP SYN/SYN-ACK reversal situations.
  Fix bug in Connection::FlipRoles, addresses BIT-1148.

BIT-1148 #merged
This commit is contained in:
Robin Sommer 2014-03-13 14:15:29 -07:00
commit a90bf11e35
11 changed files with 101 additions and 27 deletions

View file

@ -292,6 +292,14 @@ public:
TransportProto proto, const char* analyzer,
double timeout);
/**
* Searched for analyzers scheduled to be attached to a given connection
* and then attaches them.
*
* @param conn The connection to which scheduled analyzers are attached.
*/
void ApplyScheduledAnalyzers(Connection* conn);
/**
* Schedules a particular analyzer for an upcoming connection. Once
* the connection is seen, BuildInitAnalyzerTree() will add the