IE9丢失对本地Catalyst服务器的请求 [英] IE9 loses requests to a local Catalyst server

查看:105
本文介绍了IE9丢失对本地Catalyst服务器的请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,这很难.我有一个Catalyst服务器,可以从其他计算机上的Firefox 4,Chromium 12和IE 8和9正常访问.当我尝试在自己的计算机(服务器所在的计算机)上从IE9访问它时,会出现奇怪的超时和延迟. Catalyst服务器的输出不显示这些延迟,并且IE9流量视图甚至不显示请求曾经发送过!

Okay, this is a hard one. I have a Catalyst server I can access just fine from Firefox 4, Chromium 12, and IE 8 and 9 on other computers. When I try to access it from IE9 on my own machine (the same machine the server is on), I get strange timeouts and delays. The Catalyst server's output doesn't show these delays and the IE9 traffic view doesn't even show that the request was ever sent!

当服务器挂起时,它正在使用100%的处理器核心,但是随后它又回到空闲状态而没有输出任何内容.从Chrome或FF发出请求时,相同的请求也需要5毫秒.

While the server is hanging up it's using 100% of a processor core but then it drops back to idle without outputting anything. This same request takes 5ms when requested from Chrome or FF.

如果我在服务器锁定时^ C服务器,则会收到此可怕的低级错误:

If I ^C the server while it's locked up I get this frighteningly low-level error:


Can't coerce UNKNOWN to string in sysread 
   at C:/strawberry/perl/site/lib/Catalyst/Engine/HTTP.pm line 440.
Can't call method "_socket_data" without a package or object reference 
   at C:/strawberry/perl/site/lib/Catalyst/Engine/HTTP.pm line 358.
panic: pad_free curpad 
   at C:/strawberry/perl/site/lib/Catalyst/Engine/HTTP.pm line 358.

IE9如何将请求路由到本地套接字有什么不同?

What's different about how IE9 routes requests to local sockets?

环境信息:

  • Windows 7 Pro x64
  • 草莓Perl 5.10.1 x86
  • 催化剂5.80032
  • Internet Explorer 9.0.8112.16421

推荐答案

如果运行 Fiddler ,问题是否会消失?

Does the problem go away if you run Fiddler?

如果是这样,您可能会遇到的问题是您的Web服务器没有正确地使用多线程,并且IE9的后台连接功能导致服务器挂起,因为它由于没有请求的后台连接而死锁

If so, the problem you're likely hitting is that your webserver isn't properly multithreaded and IE9's background connection feature is causing your server to hang as it deadlocks due to a background connection which doesn't have a request on it.

这篇关于IE9丢失对本地Catalyst服务器的请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆