How do you disable keep-alive in Jetty 9?
Running under 64 bit CentOS if it makes a difference.
An XML config solution is preferred.
How do you disable keep-alive in Jetty 9?
Running under 64 bit CentOS if it makes a difference.
An XML config solution is preferred.
You really don't want to disable keep-alive. Your server performance will suffer, for starters. Your clients will experience slower loading times. In rare cases, you may even get fired.
Don't even THINK about doing this on a production web site.
If you're just testing, you can set the HTTP header
Connection: Close
.