| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6fd1b23 commit a28c336
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -879,9 +879,9 @@ void ChannelWrap::Setup() { | |||
| 879 | 879 | } | |
| 880 | 880 | ||
| 881 | 881 | /* We do the call to ares_init_option for caller. */ | |
| 882 | - const int optmask = | ||
| 883 | - ARES_OPT_FLAGS | ARES_OPT_TIMEOUTMS | | ||
| 884 | - ARES_OPT_SOCK_STATE_CB | ARES_OPT_TRIES; | ||
| 882 | + const int optmask = ARES_OPT_FLAGS | ARES_OPT_TIMEOUTMS | | ||
| 883 | + ARES_OPT_SOCK_STATE_CB | ARES_OPT_TRIES | | ||
| 884 | + ARES_OPT_QUERY_CACHE; | ||
| 885 | 885 | r = ares_init_options(&channel_, &options, optmask); | |
| 886 | 886 | ||
| 887 | 887 | if (r != ARES_SUCCESS) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -415,7 +415,7 @@ assert.throws(() => { | |||
| 415 | 415 | (answer) => Object.assign({ domain }, answer) | |
| 416 | 416 | ), | |
| 417 | 417 | }), port, address); | |
| 418 | - }, cases.length * 2 - 1)); | ||
| 418 | + }, cases.length * 2)); | ||
| 419 | 419 | ||
| 420 | 420 | server.bind(0, common.mustCall(() => { | |
| 421 | 421 | const address = server.address(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments