Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to enable "Keep-Alive" response header for Jetty Web server?

Jetty web server - version 7

share|improve this question
up vote 4 down vote accepted

Connection: Keep-Alive is only used by HTTP/1.0 clients. The HTTP/1.1 protocol specifies that all connections are persistent by default.

According to the response to this bug (from 2008), since it claims:

Jetty uses persistent connections by default for HTTP/1.1 and if requested by the client for HTTP/1.0.

Jetty should respond with a Connection: Keep-Alive response header if you connect to it with an HTTP/1.0 client that sends a Connection: Keep-Alive request header.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.