HTTP 요청/응답 헤더 한도 설정

Private Cloud용 에지 v. 4.17.01

에지 라우터와 메시지 프로세서에는 요청/응답 헤더의 크기와 줄 크기에 대한 사전 정의된 한도가 있습니다.

API에서 들어오는 요청을 처리하는 라우터의 경우 /opt/apigee/customer/application/router.properties에서 다음 속성을 수정하여 이러한 기본값을 변경합니다.

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

파일이 없으면 파일을 만듭니다.

다음 속성을 변경한 후 라우터를 다시 시작해야 합니다.

> /opt/apigee/apigee-service/bin/apigee-service edge-router restart

백엔드 서비스로 나가는 요청을 처리하는 메시지 프로세서의 경우, /opt/apigee/customer/application/message-processor.properties에서 다음 속성을 편집하여 이러한 기본값을 변경합니다.

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

파일이 없으면 파일을 만듭니다.

다음 속성을 변경한 후 메시지 프로세서를 다시 시작해야 합니다.

> /opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart