Comments (2)
@bjoe2k4 lua-resty-upload does not write to the file system itself so it does not make sense to add this feature into this library. It is your responsibility to do the cleanup by checking the return values of the resty.upload receive calls and registering your own ngx.on_abort
handler:
https://github.com/openresty/lua-nginx-module#ngxon_abort
Regards,
-agentzh
from lua-resty-upload.
It was not my intention to request a feature addition rather that to accomplish my needs. I am now writing to a temporary file and will only move it to the correct location after "part_end". Also i registered an on_abort handler as you suggested. Thank you for your effort and all the great nginx-related work!
from lua-resty-upload.
Related Issues (20)
- oh,i want say something,openresty always have problem in upload image file HOT 4
- Does this support multiple upload? HOT 4
- rest client上传的binary无法正确获取
- Subrequest question HOT 1
- How to reconstruct body after upload HOT 1
- Publish v0.10 on OPM HOT 1
- error module 'cjson' not found HOT 1
- HTTPS upload? HOT 2
- How to build a module to nginx? HOT 1
- Iterator to work with generic for HOT 1
- lua-nginx-module report http v2 not supported yet unexpectedly HOT 6
- If the uploaded file is a picture,I want it to be a 2048 by 2048 image with maximum height and width
- ngx.exit(415) during read() loop does *not* cleanly exit - binary data spewed in log files
- security issues when use in WAF project
- where will I find the file uploaded
- How to download folder content from nginx server
- Got "closed" error after call read method of resty.upload HOT 3
- 请求解决一下http v2 支持的问题 HOT 1
- Support optional compatibility to LF as line break
- Biblioteca jose do python não chama a função jwt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-resty-upload.