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

Method Reset

library/cpp/http/server/conn.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 inline void Reset() {
30 if (S_ != INVALID_SOCKET) {
31 // send RST packet to client
32 S_.SetLinger(true, 0);
33 S_.Close();
34 }
35 }
36
37private:
38 TSocket S_;

Callers

nothing calls this directly

Calls 2

SetLingerMethod · 0.80
CloseMethod · 0.45

Tested by

no test coverage detected