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

Edge for Private Cloud v. 4.16.05

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

अपने एपीआई से आने वाले अनुरोधों को हैंडल करने वाले राऊटर के लिए, इन डिफ़ॉल्ट वैल्यू को बदलने के लिए, /<inst_root>/apigee/customer/application/roor.property पर इन प्रॉपर्टी में बदलाव करें:

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.property में दी गई इन प्रॉपर्टी में बदलाव करें:

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