提交 3552de49 编写于 作者: A Alexey Milovidov

Added comment; fixed uninitialized read [#CLICKHOUSE-20227].

上级 7f73f917
......@@ -36,13 +36,17 @@ namespace ErrorCodes
///
/// Additionally, supports HTTP response compression (in this case corresponding Content-Encoding
/// header will be set).
///
/// Also this class write and flush special X-ClickHouse-Progress HTTP headers
/// if no data was sent at the time of progress notification.
/// This allows to implement progress bar in HTTP clients.
class WriteBufferFromHTTPServerResponse : public BufferWithOwnMemory<WriteBuffer>
{
private:
Poco::Net::HTTPServerResponse & response;
bool add_cors_header;
bool compress;
bool add_cors_header = false;
bool compress = false;
ZlibCompressionMethod compression_method;
int compression_level = Z_DEFAULT_COMPRESSION;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册