You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/25 05:40:26 UTC
[GitHub] [apisix] tokers commented on a diff in pull request #7727: bug: response-rewrite plugin might cause Apache AIPSIX hanging
tokers commented on code in PR #7727:
URL: https://github.com/apache/apisix/pull/7727#discussion_r954521647
##########
t/plugin/response-rewrite.t:
##########
@@ -699,3 +699,26 @@ X-A: 127.0.0.1
X-B: from 127.0.0.1 to 127.0.0.1:1980
--- no_error_log
[error]
+
+
+
+=== TEST 25: set an nil body with setting body_base64 to false
+--- config
+ location /t {
+ content_by_lua_block {
+ local plugin = require("apisix.plugins.response-rewrite")
+ local ok, err = plugin.check_schema({
Review Comment:
@Hazel6869 You should write another case which really uses the configuration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org