I am quite new to boost asio and I am experiencing random End of File in a multi threaded server.
I could reproduce my problem in this small example:>
This issue was a regression and has been fixed in Boost 1.55: http://www.boost.org/users/history/version_1_55_0.html