MCPcopy Create free account
hub / github.com/apple/foundationdb / onWriteError

Method onWriteError

flow/Net2.actor.cpp:733–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731 closeSocket();
732 }
733 void onWriteError(const boost::system::error_code& error) {
734 TraceEvent(SevWarn, "N2_UDPWriteError", id)
735 .suppressFor(1.0)
736 .detail("ErrorCode", error.value())
737 .detail("Message", error.message());
738 closeSocket();
739 }
740
741 void init() {
742 socket.non_blocking(true);

Callers

nothing calls this directly

Calls 5

TraceEventClass · 0.85
closeSocketFunction · 0.85
detailMethod · 0.80
messageMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected