Commit 3329aa9
committed
Switched to ngx_current_msec for $request_time tracking.
This ensures that $request_time (and $session_time in stream) is not
affected by system time changes on platforms with monotonic time available.
Also, it is now tracked similarly to $upstream_response_time, and
there should be no unexpected differences as previously observed with
clock_gettime(CLOCK_MONOTONIC_COARSE) (see 7939:9e7de0547f09).1 parent 72efb40 commit 3329aa9
File tree
8 files changed
+9
-32
lines changed- src
- http
- modules
- stream
8 files changed
+9
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
829 | | - | |
| 828 | + | |
830 | 829 | | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
| 830 | + | |
835 | 831 | | |
836 | 832 | | |
837 | 833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | | - | |
2327 | 2326 | | |
2328 | 2327 | | |
2329 | 2328 | | |
| |||
2470 | 2469 | | |
2471 | 2470 | | |
2472 | 2471 | | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
| 2472 | + | |
2476 | 2473 | | |
2477 | 2474 | | |
2478 | 2475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
564 | 563 | | |
565 | 564 | | |
566 | 565 | | |
| |||
635 | 634 | | |
636 | 635 | | |
637 | 636 | | |
638 | | - | |
639 | | - | |
640 | | - | |
| 637 | + | |
641 | 638 | | |
642 | 639 | | |
643 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
| 413 | + | |
415 | 414 | | |
416 | 415 | | |
417 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2216 | 2216 | | |
2217 | 2217 | | |
2218 | 2218 | | |
2219 | | - | |
2220 | 2219 | | |
2221 | 2220 | | |
2222 | 2221 | | |
2223 | 2222 | | |
2224 | 2223 | | |
2225 | 2224 | | |
2226 | 2225 | | |
2227 | | - | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
| 2226 | + | |
2231 | 2227 | | |
2232 | 2228 | | |
2233 | 2229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 171 | + | |
175 | 172 | | |
176 | 173 | | |
177 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
756 | | - | |
757 | 756 | | |
758 | 757 | | |
759 | 758 | | |
760 | 759 | | |
761 | 760 | | |
762 | 761 | | |
763 | 762 | | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
| 763 | + | |
768 | 764 | | |
769 | 765 | | |
770 | 766 | | |
| |||
0 commit comments