Monthly Archives: June 2015

直到世界尽头

电吉他响起的时候,有没有浑身的鸡皮疙瘩?一代人的记忆。

孤身一人 彷徨在大都市
就像被人丢弃的空啤酒罐
如果非要探究彼此的一切
才叫爱的话 还不如永久长眠
直到世界的尽头 也不愿与你分离
曾在千万个夜晚许下心愿
一去不回的时光 为何却如此耀眼
对憔悴不堪的心落井下石
渺茫的思念 在这个悲剧的夜
而人们总是追求表面答案
结果错失无可取代的宝物
在这充斥着欲望的街头
就连夜空繁星也难以照亮我们
在世界结束之前 谁愿给我讲一个
与繁花盛开最贴切的不幸
谁都满怀着期望 却又不相信永远
…可是也一定梦想着明天
短暂的时光 在这悲剧的夜晚
直到世界的尽头 也不愿与你分离
曾在千万个夜晚许下心愿
一去不回的时光 为何却如此耀眼
对憔悴不堪的心落井下石
渺茫的思念 在这悲剧的夜晚
这悲剧的夜晚

Connection:Keep-Alive vs Keep-Alive:timeout=xxxx

Connection:Keep-Alive is indicate keep connection not to close. Keep-Alive header is controlling details such as how long you can actively close connection. In general these two header are coordinating to control re-use connection to avoid frequent handover heavy process.

There two important parameters can be configured for Keep-Alive,

  • timeout,  the most widely used to control the time to maintain idle connection
  • max, control the number of requests through re-used connection. After server received max number requests it can safely close connection. And when client send out max number requests it can safely close connection in its side.

So there will be a uncommon combination if you set Connection:Keep-Alive and Keep-Alive:timeout=0. What’s behavior I leave the answer to reader. 🙂