cheme / mydht

A generic library for implementing distributed keyvalue tables
Apache License 2.0
3 stars 2 forks source link

Non connected transport skip peer acceptance basic rules #47

Open cheme opened 9 years ago

cheme commented 9 years ago

Non connected transport do not validate the peer (no persistence of peer, stateless so we do not have challenge anymore). Plan would be to have a new query type for ping (usefull also for synch where we always stuck client process waiting synchrously for a pong see [https://github.com/cheme/mydht/issues/41].

Other plan should be to symply drop non connected transport (make things a bit more complicated and currently not used). See also ref to APONG

cheme commented 9 years ago

This will not be the case anymore as soon as Shadow message are added to those transport (requires persistence of crypter/transport address)