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

Method cancelImpl

src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:224–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void WriteBufferFromHTTPServerResponse::cancelImpl() noexcept
225{
226 // we have to close connection when it has been canceled
227 // client is waiting final empty chunk in the chunk encoding, chient has to receive EOF instead it ASAP
228 response.setKeepAlive(false);
229 HTTPWriteBuffer::cancelImpl();
230}
231
232bool WriteBufferFromHTTPServerResponse::isChunked() const
233{

Callers

nothing calls this directly

Calls 1

setKeepAliveMethod · 0.45

Tested by

no test coverage detected