एचटीटीपी अनुरोध/रिस्पॉन्स हेडर की सीमाएं सेट करना

Edge for Private Cloud v. 4.16.05

Edge राऊटर और मैसेज प्रोसेसर में, अनुरोध/जवाब के हेडर के साइज़ और लाइन के साइज़ की सीमाएं पहले से तय होती हैं.

राऊटर के लिए, जो आपके एपीआई से आने वाले अनुरोधों को मैनेज करता है, इन डिफ़ॉल्ट वैल्यू को बदलने के लिए, /<inst_root>/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

अगर वह फ़ाइल मौजूद नहीं है, तो उसे बनाएं.

इन प्रॉपर्टी को बदलने के बाद, आपको राऊटर को रीस्टार्ट करना होगा:

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

मैसेज प्रोसेसर, आपकी बैकएंड सेवाओं को भेजे जाने वाले अनुरोधों को मैनेज करता है. इन डिफ़ॉल्ट वैल्यू को बदलने के लिए, /<inst_root>/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

अगर वह फ़ाइल मौजूद नहीं है, तो उसे बनाएं.

इन प्रॉपर्टी में बदलाव करने के बाद, आपको मैसेज प्रोसेसर को रीस्टार्ट करना होगा:

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