How can I disable HTTP Keep-Alive in ASP.NET MVC?

前端 未结 4 672
青春惊慌失措
青春惊慌失措 2021-01-05 04:48

Is there a way to tell IIS/ASP.NET not to allow Keep-Alive for certain requests? Or even for an entire website, if that\'s really the only way to go about it?

4条回答
  •  盖世英雄少女心
    2021-01-05 05:27

    Pretty sure it can't be done at the request level.

    In IIS 6.0, it was exposed in a tab of IIS properties. In IIS 7, they kind of hid it.

提交回复
热议问题