ruanweihong-aaa commented on code in PR #14036:
URL: https://github.com/apache/apisix/pull/14036#discussion_r4292913982


##########
t/node/grpc-proxy-unary.t:
##########
@@ -33,6 +33,79 @@ run_tests;
 
 __DATA__
 
+=== TEST: client-control rejects a gRPC request without Content-Length after 
internal redirect
+--- http2
+--- apisix_yaml
+routes:
+  - id: grpc-body-limit
+    uri: /helloworld.Greeter/SayHello
+    plugins:
+      client-control:
+        max_body_size: 1

Review Comment:
   谢谢提醒。已将新增用例移到独立的 `t/node/grpc-client-control.t`,并参照现有 `client-control` 测试加入 
`apisix-nginx-module` 检查。缺少该模块时会跳过这些用例,原有的 gRPC 代理测试不受影响。



-- 
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