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

Method StartAccept

library/cpp/neh/http2.cpp:1962–1965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1960
1961 private:
1962 void StartAccept(TTcpAcceptor* a) {
1963 TAtomicSharedPtr<TTcpSocket> s(new TTcpSocket(E_.Size() ? E_.GetExecutor().GetIOService() : AcceptExecutor_.GetIOService()));
1964 a->AsyncAccept(*s, std::bind(&THttpServer::OnAccept, this, a, s, _1, _2));
1965 }
1966
1967 TIOServiceExecutor AcceptExecutor_;
1968 TVector<TTcpAcceptorPtr> A_;

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
AsyncAcceptMethod · 0.45

Tested by

no test coverage detected