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

Method OnSend

library/cpp/neh/http2.cpp:1822–1834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1820 }
1821
1822 void OnSend(const TErrorCode& ec, size_t amount, IHandlingContext&) {
1823 Y_UNUSED(amount);
1824 if (ec) {
1825 OnError();
1826 } else {
1827 ProcessPipeline();
1828 }
1829
1830 if (SeenMessageWithoutKeepalive_) {
1831 TErrorCode shutdown_ec;
1832 AS_->Shutdown(TTcpSocket::ShutdownBoth, shutdown_ec);
1833 }
1834 }
1835
1836 public:
1837 bool IsCanceled() const noexcept {

Callers

nothing calls this directly

Calls 2

Y_UNUSEDFunction · 0.85
ShutdownMethod · 0.45

Tested by

no test coverage detected