| 1515 | |
| 1516 | public: |
| 1517 | static void Create(THttpServer& hs, const TTcpSocketRef& s) { |
| 1518 | TSharedPtrB<TConn> conn(new TConn(hs, s)); |
| 1519 | conn->WeakThis_ = conn; |
| 1520 | conn->ExpectNewRequest(); |
| 1521 | conn->AS_->AsyncPollRead(std::bind(&TConn::OnCanRead, conn, _1, _2), THttp2Options::ServerInputDeadline); |
| 1522 | } |
| 1523 | |
| 1524 | ~TConn() { |
| 1525 | DBGOUT("~THttpServer::TConn(" << (!AS_ ? -666 : AS_->Native()) << ")"); |
nothing calls this directly
no test coverage detected