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

Method DoRecvCycle

library/cpp/neh/tcp.cpp:300–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 inline void DoRecvCycle(TCont* c) {
301 TContIO io(S, c);
302 TBufferedInput input(&io, 8192 * 4);
303
304 while (true) {
305 ui32 len;
306
307 try {
308 ::Load(&input, len);
309 } catch (TLoadEOF&) {
310 return;
311 }
312
313 P->CB->OnRequest(new TRequest(this, input, len));
314 }
315 }
316
317 TServer* P;
318 TMessageQueue<TResponce> MQ;

Callers

nothing calls this directly

Calls 2

LoadFunction · 0.50
OnRequestMethod · 0.45

Tested by

no test coverage detected