このページは、まだ日本語ではご利用いただけません。翻訳中です。
This plugin is not compatible with Konnect
Contact 3rd party for support: This plugin is developed, tested, and maintained by Optum
Block upstream responses whose body is greater than a specific size in megabytes.
Proxy consumers will receive an HTTP Status of 413 and message body “Response size limit exceeded” in the event the body is greater than configured size.
Caveat
This plugin currently accomplishes response limiting by validating the Content-Length header on upstream responses. If the upstream lacks the response header, then this plugin will allow the response to pass.
Installation
Recommended:
$ luarocks install kong-response-size-limiting
Other:
$ git clone https://github.com/Optum/kong-response-size-limiting.git /path/to/kong/plugins/kong-response-size-limiting
$ cd /path/to/kong/plugins/kong-response-size-limiting
$ luarocks make *.rockspec
Maintainers
Feel free to open issues, or refer to our Contribution Guidelines if you have any questions.