Skip to content

Commit 354a1d4

Browse files
committed
Fixed bug: missing CRLF at the end of resulting body; Added feature: limiting file size and resulting body size via upload_max_file_size and upload_max_output_body_len.
1 parent 401e9a7 commit 354a1d4

File tree

3 files changed

+126
-48
lines changed

3 files changed

+126
-48
lines changed

Changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Version 2.0.4
77
on request for file content. When no calculation is requested, additional memory
88
and CPU are not used. Calculation could be requested via specifying variables
99
$upload_file_md5, $upload_file_md5_uc, $upload_file_sha1 and $upload_file_sha1_uc.
10+
* Fixed bug: missing CRLF at the end of resulting body.
11+
* Added feature: limiting file size and resulting body size via upload_max_file_size
12+
and upload_max_output_body_len.
13+
* Change: optimized out some unnecessary memory allocations and zeroeing.
1014

1115
Version 2.0.3
1216
* upload_store directive was not able to receive more than one argument.

nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ worker_processes 20;
33

44
error_log logs/error.log notice;
55

6-
user root nobody;
76
working_directory /usr/local/nginx;
87

98
events {

0 commit comments

Comments
 (0)