lp://staging/~titusx/nginx/module-upload-progress

Created by TitusX and last modified
Get this branch:
bzr branch lp://staging/~titusx/nginx/module-upload-progress

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
TitusX
Project:
Nginx
Status:
Mature

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at https://github.com/masterzen/nginx-upload-progress-module.git.

Last successful import was .

Import started on pear and finished taking 20 seconds — see the log
Import started on pear and finished taking 20 seconds — see the log
Import started on pear and finished taking 20 seconds — see the log
Import started on pear and finished taking 20 seconds — see the log

Recent revisions

77. By Brice Figureau <email address hidden>

New version 0.9.2

This module can now be compiled as a nginx dynamic module.

76. By Brice Figureau <email address hidden>

Merge pull request #43 from PeterTonoli/dynamic-module

nginx-upload-progress-module can now be compiled as a dynamically loadable module

75. By Brice Figureau <email address hidden>

fix #36 - nginx reduces rquest_body->rest only on buffer recycling

Since nginx 1.3.9, the request body handler is able to decode chunked
encoding. This feature changed the behavior of the request body handler,
whereas before the request_body->rest was decremented on each call to
recv and the upload progress module was showing the correct rest
decrement. Now, request_body->rest is only decremented when the incoming
body buffer is reused. If this buffer is large (it's size depends on
client_body_buffer_size), then it can never be reused, thus the rest
field is never decremented until the end of the file.

This hasn't been detected and reproduced before, because I happen to
run the tests with small client_body_buffer_size (ie less than 10% from
the file uploaded).

The solution is to never use rest, but compute the correct rest by
tracking the current buffer size.

Signed-off-by: Brice Figureau <email address hidden>

74. By brice <email address hidden>

Fix-up comment style

Signed-off-by: brice <email address hidden>

73. By Will Bond

Properly track progress of smaller file uploads

72. By Brice Figureau <email address hidden>

New version 0.9.0

Warning: INCOMPATIBLE CHANGE
The module now outputs JSONP by default. To restore the old behavior
one need to add "upload_progress_java_output" to the progress
probe location.

71. By root <root@dbuschho-laptop.(none)>

Adding instructions for jQuery AJAX compatablity, change the JSON template example to double quoted properties, and fixed a few minor spelling errors.

70. By dbuschho <dbuschho@dbuschho-laptop.(none)>

Changed default upload progress response format to JSONP. Also fixed typo in test/client.sh

69. By Brice Figureau <email address hidden>

Release 0.8.4

This release is compatible with nginx 1.1.15

Signed-off-by: Brice Figureau <email address hidden>

68. By Brice Figureau <email address hidden>

Fix #21 - compilation failure with nginx 1.1.15

Nginx 1.1.15 removed the NGX_PARSE_LARGE_TIME error code.
The code checking this error is not used anymore, so let's remove
it.

Signed-off-by: Brice Figureau <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers