From: berserker_r (berserker_r_at_[hidden])
Date: 2006-11-15 08:05:28
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk