townforge/contrib/epee/include/net
Crypto City 76320cd80d epee: attempt to fix the random hang in RPC comms
It does not always come from quite the same place, but it's always
a EBADF on the socket AFAICT. This suggests a race somewhere, but
for now it's better to fail than hang.

  #0  __cxxabiv1::__cxa_throw (obj=0x7e5c6c07bd30, tinfo=0x651167ae8770 <typeinfo for boost::wrapexcept<boost::system::system_error>>,
      dest=0x651165bb4010 <boost::wrapexcept<boost::system::system_error>::~wrapexcept()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:80
  #1  0x00006511667b3d0c in __wrap___cxa_throw ()
  #2  0x0000651165a423f1 in void boost::throw_exception<boost::system::system_error>(boost::system::system_error const&, boost::source_location const&) ()
  #3  0x0000651165bc1e49 in boost::asio::detail::do_throw_error(boost::system::error_code const&, char const*, boost::source_location const&) ()
  #4  0x0000651165bcd107 in epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::save_dbg_log() ()
  #5  0x0000651165c4a1aa in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_accept(boost::system::error_code const&, bool) ()
  #6  0x0000651165bd7250 in boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ip::tcp, boost::_bi::bind_t<void, boost::_mfi::mf1<void, epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >*>, boost::arg<1> (*)()> >, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) ()
  #7  0x0000651165b9cf53 in boost::asio::detail::scheduler::run(boost::system::error_code&) [clone .isra.0] ()
  #8  0x0000651165bc8b73 in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread() ()
  #9  0x0000651167157fe7 in thread_proxy ()
  #10 0x00007e5cfd4b44c0 in start_thread () from /lib64/libpthread.so.0
  #11 0x00007e5cfd3e2133 in clone () from /lib64/libc.so.6
2023-06-07 18:06:50 +00:00
..
abstract_http_client.h port feather monero changes to townforge 2021-05-23 18:25:51 +00:00
abstract_tcp_server2.h address PR comments 2022-07-08 15:10:03 -07:00
abstract_tcp_server2.inl epee: attempt to fix the random hang in RPC comms 2023-06-07 18:06:50 +00:00
buffer.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
connection_basic.hpp Merge pull request #8223 2022-04-06 00:19:59 -04:00
enums.h Template hash func to fix compiler error on < gcc-6 2022-07-13 22:44:43 -07:00
http_auth.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
http_base.h Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
http_client_base.h
http_client.h Merge remote-tracking branch 'origin/master' into HEAD 2022-08-08 17:44:32 +00:00
http_protocol_handler.h add a sanity check to RPC input data size 2022-04-21 22:22:56 +00:00
http_protocol_handler.inl add a sanity check to RPC input data size 2022-04-21 22:22:56 +00:00
http_server_handlers_map2.h epee: return HTTP error 400 (Bad request) on deserialization error 2021-02-23 18:55:08 +00:00
http_server_impl_base.h Fix boost <1.60 compilation and fix boost 1.73+ warnings 2020-05-31 21:18:11 -04:00
jsonrpc_structs.h
levin_base.h Undefined behaviour fixes 2022-02-19 10:17:53 +01:00
levin_protocol_handler_async.h Merge functionality of misc_os_dependent into time_helper.h 2022-04-18 09:55:21 -05:00
levin_protocol_handler.h Undefined behaviour fixes 2022-02-19 10:17:53 +01:00
local_ip.h Remove the only 4 non-UTF8 characters in codebase 2022-04-18 09:55:21 -05:00
net_helper.h Merge remote-tracking branch 'origin/master' into HEAD 2022-08-08 17:44:32 +00:00
net_parse_helpers.h Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
net_ssl.h Merge remote-tracking branch 'origin/master' into HEAD 2022-08-08 17:44:32 +00:00
net_utils_base.h p2p: remove blocked addresses/hosts from peerlist 2021-08-05 17:29:25 +00:00
network_throttle-detail.hpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
network_throttle.hpp Refactor out pragma_comp_defs 2022-04-18 09:55:21 -05:00