Saeed
Saeed

Reputation: 47

some information on keep-alive http header

The server that my website is located on it, send these two http headers:

Connection:Keep-Alive
Keep-Alive:timeout=5

As you can see, there is no max in Keep-Alive header. isn't it going to cause any problem? what is the default value for max?
And another question, I don't have access to apache config, how can I increase timeout?
Once I contacted the host manager, he said it's too odd and strange to manipulate the apache confing! REALLY IS IT? any idea?

Thanks everybody.

Upvotes: 0

Views: 1525

Answers (1)

CodeCaster
CodeCaster

Reputation: 151654

Read Keep-alive header clarification. It is up to the server when it closes the connection anyway, the timeout and max parameters are an indication, not a hard line. If the server is busy, it can close connections arbitrarily.

To modify the server settings locally, see Using keep-alive feature in .htaccess. You can do so in .htaccess if the host allows you to.

Upvotes: 1

Related Questions