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

Method CreateRequest

library/cpp/http/server/http.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()) {

Callers 1

OnPollEventMethod · 0.80

Calls 3

CreateClientMethod · 0.80
ResetMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected