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

Method ScheduleDelete

library/cpp/http/server/http.cpp:615–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613 }
614}
615void TClientConnection::ScheduleDelete() {
616 Socket_.Close();
617 HttpServ_->DecreaseConnections();
618 CleanupState_.ThreadMask = ((ui64)1 << HttpServ_->Options().nListenerThreads) - 1;
619 CleanupState_.Closed = true;
620}
621
622void TClientConnection::OnPollEvent(TInstant now) {
623 THolder<TClientConnection> this_(this);

Callers 1

TryRemovingUnsafeMethod · 0.80

Calls 3

DecreaseConnectionsMethod · 0.80
CloseMethod · 0.45
OptionsMethod · 0.45

Tested by

no test coverage detected