| 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_; |
nothing calls this directly
no test coverage detected