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@67d160bf25 Sponsored-by: ScaleEngine Inc.pull/57/head
|
|
||
| 489 |
|
489 |
|
| 490 |
|
490 |
|
| 491 |
|
491 |
|
|
492 |
|
|
|
493 |
|
|
|
494 |
|
|
|
495 |
|
|
|
496 |
|
|
|
497 |
|
|
|
498 |
|
|
|
499 |
|
|
|
500 |
|
|
|
501 |
|
|
| 492 |
|
502 |
|
| 493 |
|
503 |
|
| 494 |
|
504 |
|