premiere-libtorrent/simulation
Steven Siloti 7b5bdc3be9 DHT nodes can NOT share a receive buffer
While the simulation is single threaded, because async_receive_from_impl uses
post() to invoke the receive handler it is possible for multiple receive
handlers to be queued up in the io_service at the same time. If this happens
with a shared receive buffer the last packet received will overwrite all the
other packets before they are handled.

The use of post() is necessary to avoid unbounded recursion in the read handler
so each node must get its own buffer.
2016-01-10 18:30:16 -08:00
..
libsimulator@277389e87c overhaul the dht simulator (setup_dht) to be more flexible and cheaper to run thousands of nodes 2016-01-09 01:08:52 -05:00
Jamfile clean up setup-swarm simulation utility to be more flexible to make it easier to add new tests. remove swarm_suite layer as it's not necessary anymore 2015-12-12 00:41:40 -05:00
create_torrent.cpp add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00
create_torrent.hpp add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00
make_proxy_settings.hpp transition http proxy test for http_connection to the sim 2015-12-22 00:45:16 -05:00
setup_dht.cpp DHT nodes can NOT share a receive buffer 2016-01-10 18:30:16 -08:00
setup_dht.hpp overhaul the dht simulator (setup_dht) to be more flexible and cheaper to run thousands of nodes 2016-01-09 01:08:52 -05:00
setup_swarm.cpp polish the stop-when-ready flag and improve documentation 2015-12-13 20:31:28 -05:00
setup_swarm.hpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_auto_manage.cpp polish the stop-when-ready flag and improve documentation 2015-12-13 20:31:28 -05:00
test_dht.cpp overhaul the dht simulator (setup_dht) to be more flexible and cheaper to run thousands of nodes 2016-01-09 01:08:52 -05:00
test_dht_storage.cpp add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00
test_http_connection.cpp transition http proxy test for http_connection to the sim 2015-12-22 00:45:16 -05:00
test_ip_filter.cpp add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00
test_metadata_extension.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_pe_crypto.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_super_seeding.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_swarm.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_torrent_status.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_tracker.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_trackers_extension.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_transfer.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
test_utp.cpp port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00