MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / close

Method close

base/poco/Net/src/HTTPStream.cpp:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41void HTTPStreamBuf::close()
42{
43 if (_mode & std::ios::out)
44 {
45 sync();
46 if (!_session.getKeepAlive())
47 _session.socket().shutdownSend();
48 }
49}
50
51
52int HTTPStreamBuf::readFromDevice(char* buffer, std::streamsize length)

Callers 1

~HTTPIOSMethod · 0.45

Calls 3

getKeepAliveMethod · 0.45
shutdownSendMethod · 0.45
socketMethod · 0.45

Tested by

no test coverage detected