8
0
mirror of https://github.com/weiss/ngx_http_upload.git synced 2025-07-01 10:19:40 +00:00

10 Commits

Author SHA1 Message Date
Holger Weiss
a3e951d93d Improve error handling 2018-07-19 21:35:56 +02:00
Holger Weiss
0f7e5a4b35 Add recommendation regarding the "root" path
If the specified document "root" path is on the same file system as the
"client_body_temp_path", temporary files holding request bodies can be
renamed rather than copied.
2018-07-19 19:43:42 +02:00
Holger Weiss
bb69b6a934 Move license terms into LICENSE.txt file 2018-07-19 19:28:10 +02:00
Holger Weiss
01a39884c8 Move documentation into README.md 2018-07-18 23:12:33 +02:00
Holger Weiss
c32bea422d Add copyright and license text 2018-07-18 22:35:48 +02:00
Holger Weiss
bd99b4a43c Split storing the PUT body into separate functions
For better readability, use different functions for storing the PUT body
depending on whether or not Nginx wrote it to a temporary file.
2018-07-18 21:48:24 +02:00
Holger Weiss
3cc33e81a6 Don't respect "umask" while setting permissions 2018-07-18 21:21:31 +02:00
Holger Weiss
b9141ef899 Avoid copying of the PUT body if possible
In the case where Nginx wrote the PUT body to a temporary file, try to
rename() that file instead of copying the data.
2018-07-18 20:52:15 +02:00
Holger Weiss
ee9c39ca6f Avoid calling $r->request_body repeatedly 2018-07-15 21:36:29 +02:00
Holger Weiss
18211ea7a0 Initial import 2018-07-15 21:34:20 +02:00