Vacant2333 commented on issue #10757:
URL: https://github.com/apache/apisix/issues/10757#issuecomment-1897671703

   > I use 3.2.2 LTS version it doesn't work too.
   
   i have try on 3.2.2 LTS version, it works well
   <img width="1080" alt="image" 
src="https://github.com/apache/apisix/assets/19872346/1245feda-da71-4d5b-a7e9-75bc2973c66d";>
   the backend is a nginx, and create a 30M file by `dd if=/dev/zero bs=1M 
count=30 | tr '\0' '1' > numeric_file.txt
   `
   
   update the example plugin:
   <img width="846" alt="image" 
src="https://github.com/apache/apisix/assets/19872346/9de9302e-242e-45cb-b9c3-39676a7a6853";>
   
   
   add the route:
   `
   curl "http://127.0.0.1:9180/apisix/admin/routes/test-nginx-big-file"; -H 
"X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '
   {
     "methods": ["GET"],
     "uri": "/*",
     "plugins": {
       "example-plugin": {
           "i": 1
       }
     },
     "upstream": {
       "type": "roundrobin",
       "nodes": {
         "127.0.0.1:9999": 1
       }
     }
   }'
   `
   
   test the speed:
   `curl http://localhost:9080/numeric_file.txt > large_file`
   
   
   i think its not a bug at all, we can close the issue now @zhendongcmss 


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