conncheck: update stun timer timeout for RFC8445
authorFabrice Bellet <fabrice@bellet.info>
Mon, 13 Apr 2020 15:54:33 +0000 (17:54 +0200)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Thu, 7 May 2020 23:42:48 +0000 (23:42 +0000)
commit0f6eadc93d4e090c776104bb3627edd5d4d1b5d7
tree04e355c12b1073d68fc708201884522b6105228e
parent8efaf78c99dbb342d1f5bc52837a4cf906a3efbb
conncheck: update stun timer timeout for RFC8445

The new version of the RFC suppressed the difference between reliable
and not reliable maximum value for RTO. We choose to keep the value of
100ms that we used previously, which is lower that the recommended
value, but could be overriden most of the time, when a significant
number of pairs are handled.

We also compute exactly the number of in-progress and waiting
pairs for all streams of the agent, without relying on the value
per-stream, multiplied by the number of active streams.
agent/conncheck.c