File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -724,9 +724,9 @@ void ChannelWrap::Setup() {
724724 }
725725
726726 /* We do the call to ares_init_option for caller. */
727- const int optmask =
728- ARES_OPT_FLAGS | ARES_OPT_TIMEOUTMS |
729- ARES_OPT_SOCK_STATE_CB | ARES_OPT_TRIES ;
727+ const int optmask = ARES_OPT_FLAGS | ARES_OPT_TIMEOUTMS |
728+ ARES_OPT_SOCK_STATE_CB | ARES_OPT_TRIES |
729+ ARES_OPT_QUERY_CACHE ;
730730 r = ares_init_options (&channel_, &options, optmask);
731731
732732 if (r != ARES_SUCCESS) {
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ assert.throws(() => {
415415 ( answer ) => Object . assign ( { domain } , answer )
416416 ) ,
417417 } ) , port , address ) ;
418- } , cases . length * 2 - 1 ) ) ;
418+ } , cases . length * 2 ) ) ;
419419
420420 server . bind ( 0 , common . mustCall ( ( ) => {
421421 const address = server . address ( ) ;
You can’t perform that action at this time.
0 commit comments