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

Method receiveStatusMessage

base/poco/Net/src/DialogSocket.cpp:155–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154
155int DialogSocket::receiveStatusMessage(std::string& message)
156{
157 message.clear();
158 int status = receiveStatusLine(message, MAX_LINE_LENGTH);
159 if (status < 0)
160 {
161 while (status <= 0)
162 {
163 message += '\n';
164 status = receiveStatusLine(message, message.length() + MAX_LINE_LENGTH);
165 }
166 }
167 return status;
168}
169
170
171int DialogSocket::get()

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected