How to disable http keep-alive and close HTTP connections in JBoss EAP 7
Issue
- How do I disable keep-alive connection completly in JBoss EAP 7? I would like to make JBoss EAP 7 close connections every HTTP request/response.
- I tried setting
always-set-keep-alive="false"
but it looks this setting just does not always respond with"Connection: keep-alive"
response header. This setting does not make JBoss EAP 7 close a connection after the response.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.