Skip to content

Conversation

allanjude
Copy link

The upload-progress module was only getting notified of the first block of uploaded data, because r->read_event_handler was being reset by ngx_http_v2_read_request_body() and
ngx_http_v2_process_request_body()

The patch detects that situation, updates module_ctx to call the new function, then reinserts itself as the read_event_handler so we continue to be notified about uploaded data.

Introduced in nginx/nginx@67d160b

Sponsored-by: ScaleEngine Inc.

The upload-progress module was only getting notified of the first
block of uploaded data, because r->read_event_handler was being
reset by ngx_http_v2_read_request_body() and
ngx_http_v2_process_request_body()

The patch detects that situation, updates module_ctx to call the
new function, then reinserts itself as the read_event_handler so
we continue to be notified about uploaded data.

Introduced in nginx/nginx@67d160b

Sponsored-by:	ScaleEngine Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant