Skip to content

Commit

Permalink
Remove the kDNSServiceFlagsTimeout flag when calling DNSServiceGetAdd…
Browse files Browse the repository at this point in the history
…rInfo

- We should not be terminating the queries if we do not get anything back quickly
  The queries should be running until we get something back
  • Loading branch information
nivi-apple committed May 1, 2024
1 parent 5570be9 commit 3cb192a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Darwin/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ constexpr uint16_t kSRPTimeoutInMsec = 250;

constexpr DNSServiceFlags kRegisterFlags = kDNSServiceFlagsNoAutoRename;
constexpr DNSServiceFlags kBrowseFlags = kDNSServiceFlagsShareConnection;
constexpr DNSServiceFlags kGetAddrInfoFlags = kDNSServiceFlagsTimeout | kDNSServiceFlagsShareConnection;
constexpr DNSServiceFlags kGetAddrInfoFlags = kDNSServiceFlagsShareConnection;
constexpr DNSServiceFlags kResolveFlags = kDNSServiceFlagsShareConnection;
constexpr DNSServiceFlags kReconfirmRecordFlags = 0;

Expand Down

0 comments on commit 3cb192a

Please sign in to comment.