
15 Nov
2006
15 Nov
'06
1:05 p.m.
http://asio.cvs.sourceforge.net/asio/asio/src/tests/performance/
I had a look at that sample, but I fall in the same problem... Btw let's take "server.cpp" as sample and suppose that "session::handle_read" takes a very long time to generate the response: how can I change the server code in order to be free to accept new connections in the meanwhile? Actually the server looks to be "locked" to accept new connections until the current session has finished its work even calling io_service::run from multiple threads. Thanks