conncheck: update the unfreeze method for RFC8445
authorFabrice Bellet <fabrice@bellet.info>
Mon, 13 Apr 2020 16:03:36 +0000 (18:03 +0200)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Thu, 7 May 2020 23:42:48 +0000 (23:42 +0000)
commite9cbb3dacb382c4ef14e7b2288b05f57ca26faad
tree017d97419e6f4eca34f593eb72aab7eab5356649
parent0f6eadc93d4e090c776104bb3627edd5d4d1b5d7
conncheck: update the unfreeze method for RFC8445

The way pairs are unfrozen between RFC5245 and RFC8445 changed a bit,
and made the code much more simple. Previously pairs were unfrozen "per
stream", not they are unfrozen "per foundation". The principle of the
priv_conn_check_unfreeze_next function is now to unfreeze one and only
one frozen pair per foundation, all components and streams included.
The function is now idemporent: calling it when the connchecks still
contains waiting pairs does nothing.
agent/agent.c
agent/conncheck.c
agent/conncheck.h