We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9043432 commit b3e86eeCopy full SHA for b3e86ee
ngx_http_uploadprogress_module.c
@@ -376,10 +376,8 @@ get_tracking_id(ngx_http_request_t * r)
376
i = 1;
377
break;
378
}
379
- else if (!len) {
380
- break;
381
- }
382
- } while (p++);
+ p++;
+ } while (len > 0);
383
384
if (i) {
385
start_p = p += upcf->header.len + 1;
@@ -469,10 +467,8 @@ get_tracking_ids_mul(ngx_http_request_t * r)
469
467
470
468
471
472
473
474
475
476
477
478
start_p = p += upcf->header_mul.len + 1;
0 commit comments