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

Method StartRead

library/cpp/neh/http2.cpp:767–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765 }
766
767 inline void StartRead() {
768 if (!InAsyncRead_ && !Canceled_) {
769 InAsyncRead_ = true;
770 AS_.AsyncPollRead(std::bind(&THttpConn::OnCanRead, THttpConnRef(this), _1, _2), THttp2Options::InputDeadline);
771 }
772 }
773
774 //can be called only from asio
775 void OnReadSome(const TErrorCode& err, size_t bytes, IHandlingContext& ctx) {

Callers

nothing calls this directly

Calls 1

AsyncPollReadMethod · 0.80

Tested by

no test coverage detected