Commit d1def32
committed
possible fix for delayshell indeterminism of dns timings
Noticed a discrepancy in dns timings dns timings were off sometimes a rtt.
Not entirely sure why this is, checked chrome dns queries and even in incognito chrome sometimes sends a deterministic bunch of dns queries too chromium-i18n.appspot.com and google.com,
either by chromedrivier issuing the request due to url entering (prefetching google search results) or some google stuff to protect one from malware etc.
anyhow, timings should not never differ across runs.
i think its some request pipelining issue in replayshell passing --all-servers to dnsmasq seems to resolve this, allthough i have no idea why, which is kinda dangerous.
Observe Ticket: ravinet/mahimahi#1051 parent 14a1a31 commit d1def32
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments