Closing httpd mod_proxy connection with a RST after timeout

Updated 2019-05-10T19:41:48+00:00

Issue

  • Currently, httpd always closes a proxy connection with a FIN after encountering a timeout waiting for the backend's response. Is there a way to have this closed with a RST instead?
  • The backend does not always reply back with its own FIN. This results in the socket persisting in our firewall, leading to potential issues when that port number is later reused and denied by the firewall, which thinks it is still in use.

Environment

  • Red Hat Enterprise Linux (RHEL) 7.x
  • Apache httpd 2.4.6

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.