|
|
@@ -833,8 +833,8 @@ ngx_http_uploadprogress_handler(ngx_http_request_t * r)
|
|
833
|
833
|
up->length = 0;
|
|
834
|
834
|
up->timeout = 0;
|
|
835
|
835
|
|
|
836
|
|
- // Properly handles small files where no read events happen after the
|
|
837
|
|
- // request is first handled
|
|
|
836
|
+ /* Properly handles small files where no read events happen after the */
|
|
|
837
|
+ /* request is first handled (apparently this can happen on linux with epoll) */
|
|
838
|
838
|
if (r->headers_in.content_length_n) {
|
|
839
|
839
|
up->length = r->headers_in.content_length_n;
|
|
840
|
840
|
if (r->request_body) {
|