Bug 2189412 - [RGW][The value of the content-length header is inconsistent with the body size for website-enabled buckets]
Summary: [RGW][The value of the content-length header is inconsistent with the body si...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW-Multisite
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.0
Assignee: Mark Kogan
QA Contact: Madhavi Kasturi
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2227045 2227048 2237662
TreeView+ depends on / blocked
 
Reported: 2023-04-25 07:03 UTC by nravinas
Modified: 2024-04-12 04:25 UTC (History)
8 users (show)

Fixed In Version: ceph-18.2.0-1
Doc Type: Bug Fix
Doc Text:
.Client no longer resets the connection for an incorrect `Content-Length` header field value Previously, when returning an error page to the client, for example, a 404 or 403 condition, the `</body>` and `</html>` closing tags were missing, although their presence was accounted for in the request’s `Content-Length` header field value. Due to this, depending on the client, the TCP connection between the client and the Rados Gateway would be closed by an RST packet from the client on account of incorrect Content-Length header field value, instead of a FIN packet under normal circumstances. With this fix, send the `</body>` and `</html>` closing tags to the client under all the required conditions. The value of the `Content-Length` header field correctly represents the length of data sent to the client, and the client no longer resets the connection for an incorrect Content-Length reason.
Clone Of:
: 2227045 2227048 (view as bug list)
Environment:
Last Closed: 2023-12-13 15:20:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6548 0 None None None 2023-04-25 07:06:13 UTC
Red Hat Product Errata RHBA-2023:7780 0 None None None 2023-12-13 15:20:33 UTC

Description nravinas 2023-04-25 07:03:37 UTC
Description of problem:

The value of the content-length header doesn't match the body size when making a GET request to the root of a website-enabled bucket.

Comment 2 RHEL Program Management 2023-04-25 07:03:49 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 15 errata-xmlrpc 2023-12-13 15:20:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:7780

Comment 16 Red Hat Bugzilla 2024-04-12 04:25:15 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.