MCPcopy Create free account
hub / github.com/catboost/catboost / ReleaseConn

Method ReleaseConn

library/cpp/neh/http2.cpp:475–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 }
474
475 inline THttpConnRef ReleaseConn() noexcept {
476 THttpConnRef c;
477 {
478 TGuard<TSpinLock> g(SL_);
479 c.Swap(Conn_);
480 }
481 return c;
482 }
483
484 inline THttpConnRef ReleaseConn2() noexcept {
485 THttpConnRef c;

Callers

nothing calls this directly

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected