SocketTransportOptions.MaxReadBufferSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum unconsumed incoming bytes the transport will buffer.
A value of null
or 0 disables backpressure entirely allowing unlimited buffering.
Unlimited server buffering is a security risk given untrusted clients.
public:
property Nullable<long> MaxReadBufferSize { Nullable<long> get(); void set(Nullable<long> value); };
public long? MaxReadBufferSize { get; set; }
member this.MaxReadBufferSize : Nullable<int64> with get, set
Public Property MaxReadBufferSize As Nullable(Of Long)
Property Value
Remarks
Defaults to 1 MiB.