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

Method RequestSendedCompletely

library/cpp/neh/http2.cpp:614–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612 }
613
614 bool RequestSendedCompletely() const noexcept {
615 DBGOUT("RequestSendedCompletely()");
616 if (!Connected_ || !RequestWritten_) {
617 return false;
618 }
619 if (BeginReadResponse_) {
620 return true;
621 }
622#if defined(FIONWRITE)
623 if (THttp2Options::EnsureSendingCompleteByAck) {
624 int nbytes = Max<int>();
625 int err = ioctl(AS_.Native(), FIONWRITE, &nbytes);
626 return err ? false : nbytes == 0;
627 }
628#endif
629 return true;
630 }
631
632 TIOService& GetIOService() const noexcept {
633 return AS_.GetIOService();

Callers

nothing calls this directly

Calls 1

NativeMethod · 0.80

Tested by

no test coverage detected