spacewander commented on a change in pull request #4734:
URL: https://github.com/apache/apisix/pull/4734#discussion_r680722694



##########
File path: t/plugin/ext-plugin/http-req-call.t
##########
@@ -517,3 +517,24 @@ GET /hello
 --- access_log
 GET /plugin_proxy_rewrite_args%3Fa=2
 --- error_code: 404
+
+
+
+=== TEST 18: stop without setting status code
+--- request
+GET /hello
+--- response_body chomp
+cat
+--- extra_stream_config
+    server {
+        listen unix:$TEST_NGINX_HTML_DIR/nginx.sock;
+
+        content_by_lua_block {
+            local ext = require("lib.ext-plugin")
+            ext.go({stop = true, stop_no_code = true})
+        }
+    }
+--- error_code: 200

Review comment:
       We already check if error_code == 200 by default




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to