id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1820,win_iocp_socket_service::accept() doesn't update error_code,Takeshi Mouri ,chris_kohlhoff,"In boost/asio/detail/win_iocp_socket_service.cpp, {{{ template boost::system::error_code accept(implementation_type& impl, Socket& peer, endpoint_type* peer_endpoint, boost::system::error_code& ec) { // ... for (;;) { boost::system::error_code ec; // ... return ec; } } }}} The inner ""ec"" hides the function parameter ""ec"". So, this function doesn't set an error code to outer ""ec"". Please remove the inner ""ec"".",Bugs,closed,Boost 1.36.0,asio,Boost 1.35.0,Problem,fixed,,