简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM