Skip to content
Prev Previous commit
Next Next commit
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]>
  • Loading branch information
2 people authored and RafaelGSS committed Apr 16, 2025
commit b2b9eb36af8cc356dc96159e7565ef4d2f70777f
1 change: 1 addition & 0 deletions src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ void ChannelWrap::Setup() {
options.sock_state_cb_data = this;
options.timeout = timeout_;
options.tries = tries_;
options.qcache_max_ttl = 0;

int r;
if (!library_inited_) {
Expand Down