IFPCWebProxy::MaxResponseHeadersSize property

Applies to: desktop apps only

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

This property is read/write.


HRESULT put_MaxResponseHeadersSize(
  long lHeaderSize

HRESULT get_MaxResponseHeadersSize(
  long *plHeaderSize
' Data type: Long

Property MaxResponseHeadersSize( _
  ByVal lHeaderSize As long, _
  ByVal plHeaderSize As long _
) As Long

Property value

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

Error codes

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


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.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)


Forefront Threat Management Gateway (TMG) 2010





See also




Build date: 7/12/2010