How to disable http keep-alive and close HTTP connections in JBoss EAP 7

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content