| 170 | }; |
| 171 | |
| 172 | TAutoPtr<TClientRequest> CreateRequest(TAutoPtr<TClientConnection> c) { |
| 173 | THolder<TClientRequest> obj(Cb_->CreateClient()); |
| 174 | |
| 175 | obj->Conn_.Reset(c.Release()); |
| 176 | |
| 177 | return obj; |
| 178 | } |
| 179 | |
| 180 | void AddRequestFromSocket(const TSocket& s, TInstant now, NAddr::IRemoteAddrRef listenerSockAddrRef) { |
| 181 | if (MaxRequestsReached()) { |
no test coverage detected