Skip to content

Commit 8b4bacd

Browse files
Ethan-Arrowoodronag
authored andcommitted
dns: restore dns query cache ttl
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8106671 commit 8b4bacd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cares_wrap.cc

+1
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ void ChannelWrap::Setup() {
778778
options.sock_state_cb_data = this;
779779
options.timeout = timeout_;
780780
options.tries = tries_;
781+
options.qcache_max_ttl = 0;
781782

782783
int r;
783784
if (!library_inited_) {

0 commit comments

Comments
 (0)