HttpReader: minor fixes
GitOrigin-RevId: f003a56d3137e6af1dc5d1d30b995f3ab5b154db
This commit is contained in:
parent
c4921adcad
commit
b344269688
@ -111,9 +111,9 @@ Result<size_t> HttpReader::read_next(HttpQuery *query) {
|
||||
gzip_flow_ = GzipByteFlow(Gzip::Mode::Decode);
|
||||
GzipByteFlow::Options options;
|
||||
options.write_watermark.low = 0;
|
||||
options.write_watermark.high = max_post_size_ + 10;
|
||||
options.write_watermark.high = max_post_size_;
|
||||
gzip_flow_.set_options(options);
|
||||
//gzip_flow_.set_max_output_size(MAX_CONTENT_SIZE);
|
||||
gzip_flow_.set_max_output_size(MAX_CONTENT_SIZE);
|
||||
*source >> gzip_flow_;
|
||||
source = &gzip_flow_;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user