forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Open
Milestone
Description
voidHttpServer::operator() ( server_type::requestconst& request, server_type::connection_ptr connection) { std::vector<server_type::response_header> headers; connection->set_status(server_type::connection::ok); connection->set_headers(boost::make_iterator_range(headers.begin(), headers.end()));for (int i =0; i <100; i++) { connection->write(data); } }
causes:
terminate called after throwing an instance of'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'what(): SuccessProgram received signal SIGABRT, Aborted.
Metadata
Metadata
Assignees
Labels
No labels