Bug 2189412
Summary: | [RGW][The value of the content-length header is inconsistent with the body size for website-enabled buckets] | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | nravinas | |
Component: | RGW-Multisite | Assignee: | Mark Kogan <mkogan> | |
Status: | CLOSED ERRATA | QA Contact: | Madhavi Kasturi <mkasturi> | |
Severity: | medium | Docs Contact: | Rivka Pollack <rpollack> | |
Priority: | unspecified | |||
Version: | 5.3 | CC: | akraj, ceph-eng-bugs, cephqe-warriors, ckulal, kdreyer, mbenjamin, mkogan, rpollack | |
Target Milestone: | --- | |||
Target Release: | 7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
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.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2227045 2227048 (view as bug list) | Environment: | ||
Last Closed: | 2023-12-13 15:20:15 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2227045, 2227048, 2237662 |
Description
nravinas
2023-04-25 07:03:37 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. 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 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |