nic-6443 commented on code in PR #14036:
URL: https://github.com/apache/apisix/pull/14036#discussion_r4281217910


##########
apisix/init.lua:
##########
@@ -1069,6 +1069,15 @@ function _M.grpc_access_phase()
     if api_ctx.enable_mirror == true and has_mod then
         apisix_ngx_client.enable_mirror()
     end
+
+    if api_ctx.client_max_body_size and has_mod then

Review Comment:
   The judgment of `has_mod` is redundant, and this judgment does not exist in 
the code of `apisix/plugins/client-control.lua`.



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