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

@ -1,4 +1,8 @@
2.5-310 | 2017-09-21 09:10:21 -0700
* fix interaction of gridftp scripts with other thresholds. (Justin Azoff)
2.5-307 | 2017-09-20 10:51:09 -0500
* BIT-1846: Updating broctl submodule to include fix for symlinking

View file

@ -1 +1 @@
2.5-307
2.5-310

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);