Project

General

Profile

Actions

Bug #35990

closed

Chunked encoding fails if chunk greater than 1MiB

Added by Robin Johnson over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous, mimic
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If a response uses chunked encoding, and the chunk is greater than 1MiB, the chunk length is not correctly printed.
This bug must have existed for Swift previously, and is made much more visible by the changes in https://github.com/ceph/ceph/pull/23940

Bad chunk header:
10219b\r\0<?xml...

Good chunk header:
223\r\n<?xml...

Related issues 2 (0 open2 closed)

Copied to rgw - Backport #36124: luminous: Chunked encoding fails if chunk greater than 1MiBResolvedPrashant DActions
Copied to rgw - Backport #36125: mimic: Chunked encoding fails if chunk greater than 1MiBResolvedPrashant DActions
Actions

Also available in: Atom PDF