文件最后提交记录最后更新时间
[multicast_dns] Rewrite _readFQDN to avoid recursion (#8390) Speculatively fixes https://github.com/flutter/flutter/issues/155433. Read [one of my later comments](https://github.com/flutter/flutter/issues/155433#issuecomment-2573539784) on that thread for my current understanding of this issue. In summary, this PR rewrites _readFQDN to avoid recursion. **For reviewers: For a simplified diff, see the first commit, [change](https://github.com/flutter/packages/commit/7afa1db54e07f024b2a4550d160b4d4a9f67f2c7).** This commit avoids formatting make sure the diff only highlights changes to logic rather than formatting. <details> <summary> Pre-launch Checklist </summary> - x ] I signed the [CLA]. </details>1 年前
[multicast_dns] MDnsClient::listen supports onError callback (#8888) MDnsClient::Listen now supports an optional onError callback function, called in case of a stream error. If omitted any errors on the stream are considered unhandled, and will be passed to the current [Zone]'s error handler. By default unhandled async errors are treated as if they were uncaught top-level errors. This fixes an unhandled exception occuring (tested on Android), when the network is disconnected. Fixes https://github.com/flutter/flutter/issues/165482 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. How can a test be added? It would need to disconnect the device from WLAN beforehand.1 年前