Send Docs Feedback

Setting HTTP request/response header limits

Edge for Private Cloud v. 4.17.01

The Edge Router and Message Processor have predefined limits to the size of request/response headers and to the line size. 

For the Router, which handles incoming requests from your APIs, edit the following properties in /<inst_root>/apigee/customer/application/router.properties to change these default values:

conf_router_HTTP.request.line.limit=4k
conf_router_HTTP.request.header.limit =8k
conf_router_HTTP.response.line.limit=4k
conf_router_HTTP.response.header.limit =8k

If that file does not exist, create it.

You must restart the Router after changing these properties:

> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart

For the Message Processor, which handles outgoing requests to your backend services, edit the following properties in /<inst_root>/apigee/customer/application/message-processor.properties to change these default values:

conf/http.properties+HTTPRequest.line.limit=7k
conf/http.properties+HTTPRequest.headers.limit=25k 
conf/http.properties+HTTPResponse.line.limit=2k 
conf/http.properties+HTTPResponse.headers.limit=25k

The syntax is slightly different for the Message Processor because the properties are commented out by default. 

If that file does not exist, create it.

You must restart the Message Processor after changing these properties:

> /<inst_root>/apigee/bin/apigee-service message-processor restart

Help or comments?