提交 7a33ae7d 编写于 作者: D David Shulman

Update comment about netcore50 MaxResponseHeadersLength property

Windows.Web.Http is built on WinINet. There is no maximum limit (except
for out of memory) for received response headers. So, returning 0
(indicating no limit) is appropriate.

Fixes dotnet/corefx#8541.


Commit migrated from https://github.com/dotnet/corefx/commit/9883a1064c1119eaa885e5b4cff20177f0f928fe
上级 cd52f14f
......@@ -321,7 +321,10 @@ public long MaxRequestContentBufferSize
public int MaxResponseHeadersLength
{
get { return 0; } // TODO: Issue #8541 - return default value used in Wininet.
// Windows.Web.Http is built on WinINet. There is no maximum limit (except for out of memory)
// for received response headers. So, returning 0 (indicating no limit) is appropriate.
get { return 0; }
set
{
throw new PlatformNotSupportedException(String.Format(CultureInfo.InvariantCulture,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册