shreemaan-abhishek commented on issue #8768: URL: https://github.com/apache/apisix/issues/8768#issuecomment-1437046369
@WVenus @beginnerWJC we were unable to reproduce this bug. I used the information provided by @beginnerWJC The route: ```bash curl "http://127.0.0.1:9180/apisix/admin/routes/1" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "methods": ["POST"], "uri": "/*", "plugins": { "ext-plugin-pre-req": { "conf" : [ { "name": "TestPostFilter", "value": "" } ] } }, "upstream": { "type": "roundrobin", "nodes": { "127.0.0.1:5001": 1 } } }' ``` The curl post command: ```bash curl -i -X POST "http://127.0.0.1:9080/upload" -F "file=@/Users/shreemaan-abhishek/Downloads/trip/IMG_4042.MOV" ``` This is what we found in the logs: ```log 2023/02/20 18:59:17 [warn] 53971#10046299: *2295355 a client request body is buffered to a temporary file /Users/shreemaan-abhishek/Desktop/repos/apisix/client_body_temp/0000000022, client: 127.0.0.1, server: _, request: "POST /upload HTTP/1.1", host: "127.0.0.1:9080" 2023/02/20 18:59:17 [warn] 53971#10046299: *2295355 an upstream response is buffered to a temporary file /Users/shreemaan-abhishek/Desktop/repos/apisix/proxy_temp/3/02/0000000023 while reading upstream, client: 127.0.0.1, server: _, request: "POST /upload HTTP/1.1", upstream: "http://127.0.0.1:5001/upload", host: "127.0.0.1:9080" ``` I used this [app](https://github.com/shreemaan-abhishek/go-imageupload/tree/changes) to test. -- 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]
