]> git.meshlink.io Git - meshlink/commit
In case two nodes start a SPTPS session simultaneously, deterministically choose...
authorGuus Sliepen <guus@meshlink.io>
Tue, 18 Nov 2014 21:03:12 +0000 (22:03 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sat, 27 Dec 2014 17:30:07 +0000 (18:30 +0100)
commit9f48e4d2ce781d114ab22f3fc180f9d2524628c3
treef1ff8ee9b72277f0c6eadd89b1b606a34e156917
parentda333d8fb50d4a0440d1a712577a3b09a6c881c5
In case two nodes start a SPTPS session simultaneously, deterministically choose one to succeed.

This fixes the problem where two nodes send a REQ_KEY to each other
simultaneously, which causes both of them to drop their current state
and respond to the other's REQ_KEY with an ANS_KEY, which won't succeed
any more because both of them forgot that state.
src/protocol_key.c