- pike/lib/modules/Protocols.pmod/Bittorrent.pmod/DHT.test (+7/-5)(12 lines)
Testsuite [Protocols.Bittorrent.DHT]: Some performance improvements
* Don't create a second level of call_outs in FakdeUDPNet when the lag
is 0. Since the code is already executing in the backend, the
callback can be invoked directly.
* In the done callback of FindNode, don't call the state machine
directly, but defer it through a call out. This allows the
straggler responses from the current request to be processed before
the next request is started
Also remove the thread which is only used for the first request anyway
- pike/lib/modules/Protocols.pmod/Bittorrent.pmod/DHT.test (+129/-1)(130 lines)
Testsuite [Protocols.Bittorrent.DHT]: Default to simulated network.