ソースを参照

Make this work even if X-Progress-ID is not the last parameter

tags/v0.8
Bruno Deferrari 16年前
コミット
8c2ef68a79
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      ngx_http_uploadprogress_module.c

+ 2
- 2
ngx_http_uploadprogress_module.c ファイルの表示

297
         if (i) {
297
         if (i) {
298
             start_p = p += 14;
298
             start_p = p += 14;
299
             while (p < args.data + args.len) {
299
             while (p < args.data + args.len) {
300
-                if (*p++ != '&') {
301
-                    continue;
300
+                if (*((p++) + 1) == '&') {
301
+                    break;
302
                 }
302
                 }
303
             }
303
             }
304
 
304
 

読み込み中…
キャンセル
保存