I am using Apache HTTP Server mod_proxy as a proxy between my client and server. I can connect to my proxy server from my client. And then the client can establish a connection and send data to the server. But in the middle, somewhere the connection is lost, and it gives the following error:
(OS 10054)An existing connection was forcibly closed by the remote host. : proxy: prefetch request body failed to 10.131.x.x:80 (10.131.x.x) from 10.131.y.y ()
I tried adding saved and other properties, but this did not solve my problem. Here are my changes to the httpd.config file:
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<IfModule mod_proxy.c>
ProxyRequests On
ProxyVia On
</IfModule>
<Proxy *>
Order deny,allow
Deny from all
Allow from 10.131.x.x
</Proxy>
The following variables are also added:
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 15
Listen 8080
Please know if anyone has encountered the same problem and resolved it.
Thanks, Arindam.
source
share