Project

General

Profile

Bug #12713

civetweb frontend: response is buffered in memory if content length is not explicitly specified

Added by Radoslaw Zarzynski over 3 years ago. Updated 7 months ago.

Status:
In Progress
Priority:
Normal
Target version:
-
Start date:
08/17/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

If content length is not explicitly specified by upper layer through a call to RGWMongoose::send_content_length(), civetweb frontend performs extensive buffering in order to properly calculate the size of a content and attach the Content-Length HTTP header. Please take a look on RGWMongoose::write_data() and RGWMongoose::complete_request() methods.

History

#1 Updated by Radoslaw Zarzynski over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski

#2 Updated by Robin Johnson 7 months ago

I have a workaround-level fix for this here:
https://github.com/ceph/ceph/pull/23940

It causes the FE to avoid the buffering rather than disable it outright.

Also available in: Atom PDF