commit | 7b0a61e30021fc3d85375507c0f06e8dfc2bc8fb | [log] [tgz] |
---|---|---|
author | Christopher Kohlhoff <chris@kohlhoff.com> | Wed Sep 14 09:21:31 2016 +1000 |
committer | Christopher Kohlhoff <chris@kohlhoff.com> | Fri Sep 16 07:57:56 2016 +1000 |
tree | b2d353edcc495af1ce84fd76cb0f4180b150f3d3 | |
parent | a2e070a79eedae07bf6e7357c1428f98078d4993 [diff] |
Defer assigning accepted socket until immediately before handler. Fixes a problem in the reactor-based async_accept, if the basic_socket::assign() operation throws due to an out-of-memory condition.