| 1210 | }; |
| 1211 | |
| 1212 | static void Create(TServer& srv, const TTcpSocketRef& sock) { |
| 1213 | TConnectionRef conn(new TConnection(srv, sock)); |
| 1214 | conn->AS_->AsyncPollRead(std::bind(&TConnection::OnCanRead, conn, _1, _2), TTcp2Options::ServerInputDeadline); |
| 1215 | } |
| 1216 | |
| 1217 | ~TConnection() override { |
| 1218 | DBGOUT("~TServer::TConnection(" << (!AS_ ? -666 : AS_->Native()) << ")"); |
nothing calls this directly
no test coverage detected