Bug 1397858 - Using chunked transfer encoding makes mod_wsgi crash
Summary: Using chunked transfer encoding makes mod_wsgi crash
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mod_wsgi
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 13:21 UTC by Juan Antonio Osorio
Modified: 2021-01-15 07:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 07:28:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Juan Antonio Osorio 2016-11-23 13:21:59 UTC
Description of problem:

Using "WSGIChunkedRequest on", services using chunked transfer encoding make mod_wsgi crash with a segmentation fault. It seems that the fact that it still tries to read the content-length for requests using chunked transfer encoding, even though it's not present. As seen in logs like this:

[Thu Nov 17 13:51:24.572138 2016] [http:info] [pid 20503] [remote 192.168.24.1:136] AH01588: Requested content-length of 9223372036854775807 is larger than the configured limit of 2147483647

The file I was uploading to that service was surely not of size 9223372036854775807 .

Version-Release number of selected component (if applicable):
mod_wsgi-3.4-12.el7_0.x86_64

I noticed this when trying to run the OpenStack service called Glance over httpd, and trying to upload images to it.

Steps to Reproduce:
1. deploy a service that requires transfer-encoding (such as glance)
2. try to do a request that uses chunked transfer encoding

Actual results:
requests fail and I see the logs I posted above.

Expected results:
The image upload should finish.


Additional info:

Using the latest mod_wsgi from source (having compiled it) works and the issue cannot be reproduced with it.

Comment 12 RHEL Program Management 2021-01-15 07:28:47 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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