MCPcopy Create free account
hub / github.com/apache/trafficserver / check_for_transient_errors

Function check_for_transient_errors

src/mgmt/rpc/server/IPCSocketServer.cc:506–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504namespace
505{
506bool
507check_for_transient_errors()
508{
509 switch (errno) {
510 case EINTR:
511 case EAGAIN:
512
513#ifdef ENOMEM
514 case ENOMEM:
515#endif
516
517#ifdef ENOBUF
518 case ENOBUF:
519#endif
520
521#if defined(EWOULDBLOCK) && (EWOULDBLOCK != EAGAIN)
522 case EWOULDBLOCK:
523#endif
524 return true;
525 default:
526 return false;
527 }
528}
529} // namespace

Callers 2

acceptMethod · 0.85
read_allMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected