enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #10436
[Bug 2068529] [NEW] Focal: Reverse proxy POST with with body length >1000 is missing body
Public bug reported:
POST requests to an apache2 server with the below configuration do not
forward the message body.
Affected versions:
apache2 2.4.41-4ubuntu3.17 in focal
Steps to reproduce:
sudo apt-get install apache2
sudo a2enmod proxy
sudo a2enmod proxy_http
Add /etc/apache2/sites-enabled/test_proxy.conf
```
Listen 9443
<VirtualHost *:9443>
ServerName focal.cld.lan
ProxyRequests Off
ProxyPass "/" "http://127.0.0.1:8899/"
ProxyPassReverse "/" "http://127.0.0.1:8899/"
ErrorLog ${APACHE_LOG_DIR}/testproxy-error.log
CustomLog ${APACHE_LOG_DIR}/testproxy-access.log combined
</VirtualHost>
```
sudo systemctl restart apache2
nc -k -l 8899
wget http://archive.ubuntu.com/ubuntu/dists/jammy-proposed/InRelease
curl -d "@InRelease" -H "Content-type: text/plain" -X POST http://127.0.0.1:9443/
Curl hangs for a while until the request times out.
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2068529
Title:
Focal: Reverse proxy POST with with body length >1000 is missing body
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2068529/+subscriptions