Microsoft Internet Security and Acceleration Server 2004 SDK

MaxResponseHeadersSize Property of IFPCWebProxy[C++]

FPCWebProxy.MaxResponseHeadersSize [Visual Basic]

[C++]

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

HRESULT get_MaxResponseHeadersSize(
  long* plHeaderSize
);

HRESULT put_MaxResponseHeadersSize(
  long lHeaderSize
);

Parameters

plHeaderSize
Pointer to a variable that is set on return to a 32-bit integer specifying the maximum allowed size of an HTTP response header.
lHeaderSize
A 32-bit integer that specifies the maximum allowed size of an HTTP response header.

Return Values

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

Remarks

This property is read/write. Its default value is 32,768.

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 changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the IFPCArray::RestartServices method.

[Visual Basic]

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

Property MaxResponseHeadersSize As Long

Property Value

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

Remarks

This property is read/write. Its default value is 32,768.

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 changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the FPCArray.RestartServices method.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCWebProxy