mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
This commit is contained in:
parent
f29f6b787d
commit
2d324ed4df
@ -88,7 +88,7 @@ private:
|
||||
{
|
||||
response_ostr = &response.beginSend();
|
||||
out_raw.emplace(*response_ostr, working_buffer.size(), working_buffer.begin());
|
||||
out = out_raw.value();
|
||||
out = &out_raw.value();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -130,7 +130,7 @@ private:
|
||||
progress.writeJSON(progress_string_writer);
|
||||
}
|
||||
|
||||
response_ostr << "X-ClickHouse-Progress: " << progress_string << "\r\n" << std::flush;
|
||||
*response_ostr << "X-ClickHouse-Progress: " << progress_string << "\r\n" << std::flush;
|
||||
}
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user