MCPcopy Create free account
hub / github.com/apache/brpc / ReleaseSocket

Method ReleaseSocket

src/brpc/input_messenger.cpp:577–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575}
576
577Socket* InputMessageBase::ReleaseSocket() {
578 Socket* s = _socket.release();
579 if (s) {
580 s->CheckEOF();
581 }
582 return s;
583}
584
585InputMessageBase::~InputMessageBase() {}
586

Callers 8

ProcessRpcRequestMethod · 0.80
ProcessHttpRequestFunction · 0.80
ProcessSofaRequestFunction · 0.80
ProcessNsheadRequestFunction · 0.80
ProcessThriftRequestFunction · 0.80
ProcessMongoRequestFunction · 0.80
ProcessRpcRequestFunction · 0.80
ProcessHuluRequestFunction · 0.80

Calls 2

CheckEOFMethod · 0.80
releaseMethod · 0.45

Tested by 1

ProcessRpcRequestMethod · 0.64