MaxResponseHeadersSize Property of the IFPCWebProxy Interface

The MaxResponseHeadersSize property gets or sets the maximum allowed size, in bytes, of an HTTP response header.

[C++]
HRESULT put_MaxResponseHeadersSize(
	long lHeaderSize
);
HRESULT get_MaxResponseHeadersSize(
	long* plHeaderSize
);

Parameters

plHeaderSize

Pointer to a variable that is set on return to a 32-bit integer specifying the maximum allowed size, in bytes, of an HTTP response header.

lHeaderSize

A 32-bit integer that specifies the maximum allowed size, in bytes, of an HTTP response header.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property MaxResponseHeadersSize As Long

Property Value

A 32-bit integer that specifies the maximum allowed size, in bytes, of an HTTP response header.

Remarks

This property is read/write. Its default value is 32,768, and it cannot be set to a value less than 1.

The limit set by this property is enforced only when additional memory must be allocated for an HTTP response header. The limit is not enforced if an HTTP response header can be accommodated in the buffer initially allocated for it.

After the value of this property has been modified, the change must be written to persistent storage by calling the Save method, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebProxy


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.