We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a1369 commit 4f118abCopy full SHA for 4f118ab
src/cares_wrap.cc
@@ -879,9 +879,9 @@ void ChannelWrap::Setup() {
879
}
880
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;
+ const int optmask = ARES_OPT_FLAGS | ARES_OPT_TIMEOUTMS |
+ ARES_OPT_SOCK_STATE_CB | ARES_OPT_TRIES |
+ ARES_OPT_QUERY_CACHE;
885
r = ares_init_options(&channel_, &options, optmask);
886
887
if (r != ARES_SUCCESS) {
0 commit comments