MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / write_loop

Method write_loop

tdport/td/net/SslStream.cpp:431–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429 return Status::OK();
430}
431td::Status SslStreamHelper::write_loop() {
432 write_source_.wakeup();
433 if (write_sink_.status().is_error()) {
434 return std::move(write_sink_.status());
435 }
436 return Status::OK();
437}
438td::Status SslStreamHelper::loop() {
439 TRY_STATUS(read_loop());
440 TRY_STATUS(write_loop());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected