Mailing List Archive

[Bug 65689] New: proxy connections to target left in CLOSE_WAIT state
https://bz.apache.org/bugzilla/show_bug.cgi?id=65689

Bug ID: 65689
Summary: proxy connections to target left in CLOSE_WAIT state
Product: Apache httpd-2
Version: 2.4.51
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
Assignee: bugs@httpd.apache.org
Reporter: lothar.webmin@gmail.com
Target Milestone: ---

Hi all,
since we updated apache from 2.4.46 to 2.4.51 we have a lot of open connections
to destination hanging in "CLOSE_WAIT" state.

The connection is closed by target after a 10 secs. with a TCP RST.
Which causes alerts in our monitoring system.
I tried to disable keepalive with
SetEnv proxy-nokeepalive 1
We are using this config:
<IfModule mod_proxy.c>
ProxyRequests On
AllowCONNECT 443
SetEnv proxy-nokeepalive 1
<Proxy "*">
Require all granted
</Proxy>
</IfModule>
The Client is initiation a connection via method CONNECT:
CONNECT www.example.com:443 HTTP/1.1
Somehow disable keepalive is not working.
Also the behavior has changed, with apache 2.4.46 the connection was closed
smoothly:
apache -> target ACK
target -> apache FIN,ACK
apache -> target ACK
apache -> target FIN,ACK

With apache 2.4.51 the last FIN,ACK is not sent anymore but we receive
target -> apache RST, ACK after 10 sec.

Could this be fixed, or is there any workaround ( like disable keepalive)

Thanks a lot!
Kind Regards, Lothar

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org