0

I am running apache webserver in centos 7. Configured KeepAliveTimeout 0 in httpd.conf file. I thought based on this configuration, every tcp connection is alive until we force close. but count is gradually decreased when application is idle.

then what is KeepAliveTimeout 0 meant by.? what do i need to change for TCP connection alive..?

For reference i have attached screenshot of the server

enter image description here

2 Answers2

1

Click F12[DeveloperTools] in browser and go to Network Tab. Now reload the web page and check request headers & response headers. You should see keep alive parametre in both headers.

Saikiran
  • 140
  • 14
0

Client must request KeepAlive, setting it just in the server does not force client connections to use keepalive.

Daniel Ferradal
  • 2,727
  • 1
  • 13
  • 19