Skip to content

Commit b2b9eb3

Browse files
Ethan-Arrowoodronag
authored andcommitted
dns: restore dns query cache ttl
Fixes: #57636 Co-authored-by: Robert Nagy <[email protected]> PR-URL: #57640 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Tim Perry <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d5e73ce commit b2b9eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cares_wrap.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ void ChannelWrap::Setup() {
711711
options.sock_state_cb_data = this;
712712
options.timeout = timeout_;
713713
options.tries = tries_;
714+
options.qcache_max_ttl = 0;
714715

715716
int r;
716717
if (!library_inited_) {

0 commit comments

Comments
 (0)