Merge remote-tracking branch 'origin/topic/jazoff/fix-gridftp'

* origin/topic/jazoff/fix-gridftp:
  problem: gridftp threshold is being applied to all connections
This commit is contained in:
Johanna Amann 2017-09-21 09:10:21 -07:00
commit 39a026c88d
3 changed files with 8 additions and 1 deletions

View file

@ -75,6 +75,9 @@ event ConnThreshold::bytes_threshold_crossed(c: connection, threshold: count, is
if ( threshold < size_threshold || "gridftp-data" in c$service || c$duration > max_time )
return;
if ( ! data_channel_initial_criteria(c) )
return;
add c$service["gridftp-data"];
event GridFTP::data_channel_detected(c);