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

Method TConn

library/cpp/neh/http2.cpp:1499–1510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1497 class TConn {
1498 private:
1499 TConn(THttpServer& hs, const TTcpSocketRef& s)
1500 : HS_(hs)
1501 , AS_(s)
1502 , RemoteHost_(NNeh::PrintHostByRfc(*AS_->RemoteEndpoint().Addr()))
1503 , BuffSize_(THttp2Options::InputBufferSize)
1504 , Buff_(new char[BuffSize_])
1505 , Canceled_(false)
1506 , LeftRequestsToDisconnect_(hs.LimitRequestsPerConnection)
1507 {
1508 DBGOUT("THttpServer::TConn()");
1509 HS_.OnCreateConn();
1510 }
1511
1512 inline TConnRef SelfRef() noexcept {
1513 return WeakThis_;

Callers

nothing calls this directly

Calls 3

RemoteEndpointMethod · 0.80
OnCreateConnMethod · 0.80
AddrMethod · 0.45

Tested by

no test coverage detected