Changes between Initial Version and Version 1 of Ticket #25202


Ignore:
Timestamp:
Feb 10, 2018, 7:36:32 AM (2 years ago)
Author:
teor
Comment:

Spacing, and someone else might as well look at this for review

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25202

    • Property Status changed from new to needs_review
  • Ticket #25202 – Description

    initial v1  
    99  /* This function is not allowed to make the bucket count larger than the burst value */
    1010  tor_assert_nonfatal(new_circuit_bucket_count <= dos_cc_circuit_burst);
    11   /* This function is not allowed to make the bucket count smaller, unless it is decreasing it to a newly configured, lower burst value. We allow the bucket to stay the same size, in case the circuit rate is zero. */
    12   tor_assert_nonfatal(new_circuit_bucket_count >= stats->circuit_bucket || new_circuit_bucket_count == dos_cc_circuit_burst);
     11  /* This function is not allowed to make the bucket count smaller, unless it is
     12      decreasing it to a newly configured, lower burst value. We allow the bucket to
     13      stay the same size, in case the circuit rate is zero. */
     14  tor_assert_nonfatal(new_circuit_bucket_count >= stats->circuit_bucket ||
     15      new_circuit_bucket_count == dos_cc_circuit_burst);
    1316}}}
    1417