Skip to content

Commit f36f2ff

Browse files
committed
Fix MaxResponseHeadersLength
1 parent 1dbfa18 commit f36f2ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Net.Http/WinHttpHandler.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,13 +502,13 @@ When this property is set to `true`, all HTTP redirect responses from the server
502502
<ReturnType>System.Int32</ReturnType>
503503
</ReturnValue>
504504
<Docs>
505-
<summary>Gets or sets the maximum size of the header portion from the server response in bytes.</summary>
506-
<value>The maximum size of the header portion from the server response in bytes.</value>
505+
<summary>Gets or sets the maximum length, in kilobytes (1024 bytes), of the response headers.</summary>
506+
<value>The maximum length, in kilobytes (1024 bytes), of the response headers.</value>
507507
<remarks>
508508
<format type="text/markdown"><![CDATA[
509509
510510
## Remarks
511-
This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 65536.
511+
This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 64 KB (equivalent to 65536 bytes).
512512
513513
]]></format>
514514
</remarks>

0 commit comments

Comments
 (0)