dbit-xia commented on issue #10945:
URL: https://github.com/apache/apisix/issues/10945#issuecomment-1963701085

   The following two request logs: 
   The first line `"max_body_size":1000` is the plugin configuration set in the 
route.
   The second line `"max_body_size":2097152` is the plugin configuration set in 
the consumer.
   
   ```
   2024/02/26 17:38:58 [error] 90#90: *144 [lua] wm-test.lua:48: phase_func(): 
trace_id: ac11e468b8dd269df4f9bec53394e6be 
{"_meta":{"disable":false},"max_body_size":1000}, client: 127.0.0.1, server: _, 
request: "POST /api3/page/save HTTP/1.1", host: "127.0.0.1:9080"
   2024/02/26 17:38:58 [error] 90#90: *144 [lua] wm-test.lua:48: phase_func(): 
trace_id: ac11e468b8dd269df4f9bec53394e6be 
{"_meta":{"disable":false},"types":{"multipart/form-data":20000000},"max_body_size":2097152},
 client: 127.0.0.1, server: _, request: "POST /api3/page/save HTTP/1.1", host: 
"127.0.0.1:9080"
   ```


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