Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: client -- chunked -- apache -- content-length -- proxy |
|
Author |
|
renelies
Joined: 18 Oct 2018 Posts: 1 Location: Netherlands, Eindhoven
|
Posted: Thu 18 Oct '18 11:23 Post subject: client -- chunked -- apache -- content-length -- proxy |
|
|
We have an issue when a client posts a large file to a server using a slow connection. We have a VirtualHost with a RewriteRule to a Balancer with a single BalancerMember. At the other end there is a Ruby on Rails application using Puma as webserver.
Debugging lead me to discover that apache starts talking to the proxy directly when the client connects. The proxy at some time disconnects in which an error is sent back.
A solution would be to have Apache use a content-type chunked when talking to the client but accept the full data first before talking to the proxy. For that I've tried different SetEnv's (proxy-sendchunked 0, proxy-sendcl 1, force-proxy-request-1.0 1, downgrade-1.0 1) of which none resolved my problem. When using curl -0 (force http 1.0)
I hope anybody here could help me in determining if it's even possible to have Apache accept a full request BEFORE it connects to a proxy? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 27 Mar '19 16:47 Post subject: |
|
|
Disable KeepAlive (that counts for apache itself). I don't know how the proxy module sends the data to the reversed server. |
|
Back to top |
|
|
|
|
|
|