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() {
724
724
}
725
725
726
726
/* 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 ;
730
730
r = ares_init_options (&channel_, &options, optmask);
731
731
732
732
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 ( ) ;
You can’t perform that action at this time.
0 commit comments