File tree 5 files changed +379
-83
lines changed
5 files changed +379
-83
lines changed Original file line number Diff line number Diff line change 1
1
2
+ Version 2.0.4
3
+ * Fixed bug: location configuration of upload_set_form_field and upload_pass_form_field
4
+ was not inheritable from server configuration.
5
+ * Added feature: directive upload_aggregate_form_field to pass aggragate properties
6
+ of a file like file size, MD5 and SHA1 sums to backend. MD5 and SHA1 sums are calculated
7
+ on request for file content. When no calculation is requested, additional memory
8
+ and CPU are not used. Calculation could be requested via specifying variables
9
+ $upload_file_md5, $upload_file_md5_uc, $upload_file_sha1 and $upload_file_sha1_uc.
10
+
2
11
Version 2.0.3
3
12
* upload_store directive was not able to receive more than one argument.
4
13
As a result no hashed dirs for file uploads were possible.
Original file line number Diff line number Diff line change 1
- * Copyright (c) 2008, Valery Kholodkov
1
+ * Copyright (c) 2006, 2008, Valery Kholodkov
2
2
* All rights reserved.
3
3
*
4
4
* Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change
1
+ USE_MD5=YES
2
+ USE_SHA1=YES
1
3
ngx_addon_name=ngx_http_upload_module
2
4
HTTP_MODULES="$HTTP_MODULES ngx_http_upload_module"
3
5
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upload_module.c"
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 3
3
< title > Test upload</ title >
4
4
</ head >
5
5
< body >
6
- < h2 > Select file to upload</ h2 >
7
- < form name =" upload " method =" POST " enctype ="multipart/form-data " action ="http://localhost/upload ">
6
+ < h2 > Select files to upload</ h2 >
7
+ < form enctype ="multipart/form-data " action ="http://localhost/upload " method =" post ">
8
8
< input type ="file " name ="file1 "> < br >
9
+ < input type ="file " name ="file2 "> < br >
10
+ < input type ="file " name ="file3 "> < br >
11
+ < input type ="file " name ="file4 "> < br >
12
+ < input type ="file " name ="file5 "> < br >
13
+ < input type ="file " name ="file6 "> < br >
9
14
< input type ="submit " name ="submit " value ="Upload ">
10
15
< input type ="hidden " name ="test " value ="value ">
11
16
</ form >
You can’t perform that action at this time.
0 commit comments