Bug in MVC3 - requests never time out. Works fine for aspx pages in same project

前端 未结 3 555
梦如初夏
梦如初夏 2021-01-31 16:33

I\'m seeing this on our production site as well as a small test site I setup just to test this out...

Basically, it appears that requests handled by mvc never time out.

3条回答
  •  隐瞒了意图╮
    2021-01-31 17:06

    It should work when these conditions are met:

    1) Domain name is not localhost (to test timeout you should use "YourComputerName" instead of "localhost").

    2) Project is compiled in Release mode.

    3) compilation debug="false"

    if not look here for an alternative (ScriptTimeOut): ASP.NET MVC and httpRuntime executionTimeout

    Greetings,
    Daddy

提交回复
热议问题