How to set keep alive interval for HTTP connection in WCF

后端 未结 6 1174
一向
一向 2020-12-03 03:45

Http transport channel in WCF uses persistent HTTP connections by default. How to control keep alive timeout for those connections? Default value is 100s. I found that value

6条回答
  •  抹茶落季
    2020-12-03 03:58

    Take a look here:

    http://web.archive.org/web/20080721055556/http://blog.magenic.com/blogs/jons/archive/2007/05/04/The-Tao-of-Microsoft-WCF-CustomBinding-Configuration-Elements.aspx

    There is a detailed discussion of manipulating the keep alive property during an http connection.

提交回复
热议问题