应用程序挂起 DNS 查找是否有技术原因?

发布于 2024-07-09 10:27:38 字数 208 浏览 5 评论 0原文

如果我尝试在“正在查找domain.com...”时退出 Firefox,它会陷入困境(挂起),进入“无响应”状态,然后最终退出。 它确实做到了这一点。

这是在装有最新 FF 的 Mac 上的情况,但对我来说一直都是这样,即使在装有 FF 的 Windows 上也是如此,而且我在其他应用程序中也注意到了这一点。

是否有任何技术原因导致无法更好地处理此问题?

If I try to quit Firefox when it's "Looking up domain.com..." it beachballs (hangs), goes into "not responding" status, then finally quits. It does this without fail.

This is on Mac with the latest FF, but it's always been this way for me, even on Windows with FF and I've noticed it with other applications.

Is there any technical reason why this can't be handled better?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

彡翼 2024-07-16 10:27:38

不。您可以使用线程甚至单独的进程来异步(非阻塞)执行此操作。 这只是写得不好的软件。

除此之外,我对 FF 没有这个特殊的问题......

No. You can use threads or even seperate processes to do this asynchronously (non-blocking). This is just poorly written software.

Aside from that, I don't have this particular problem with FF...

萌酱 2024-07-16 10:27:38

您应该检查 bugzilla.mozilla.org 以查看是否有任何有关 DNS 服务的最新错误。 从历史上看,此类问题在 Firefox 和其他基于 mozilla 的产品中非常罕见,但有时会出现特定问题导致 DNS 服务终止或等待超时的情况。

另一个重要的问题是:你确定它是 DNS 吗? 数据包跟踪或颈调试日志可能有用。 状态栏的工作方式,所显示的内容并不一定是阻止其退出的原因。

You should check bugzilla.mozilla.org to see if there are any recent bugs regarding the DNS service. Historically, this type of problem is very rare in Firefox and other mozilla based products, but there have been times where specific problems caused the DNS service to die or wait until a timeout.

The other important question is: are you sure it is DNS? A packet trace or necko debug logs might be useful. The way the status bar works, what is says is not necessarily what is keeping it from quitting.

爱*していゐ 2024-07-16 10:27:38

此问题有一个 错误报告。 它至少从 2004 年就已经存在了。

There is a bug report for this problem. It has been around since at least 2004.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文