【发布时间】:2013-05-01 11:14:06
【问题描述】:
我正在编写 ThreadPooled Web 服务器。但是我发现了一个非常大的问题,我的脑袋正在努力解决这个问题。最后我无法解决这个问题。这个问题很奇怪。
当我运行 Web 服务器时,有时会显示
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
有时它运行良好。但我不明白为什么会发生这一切。
请帮我解决这个奇怪的问题。
编辑编号。 1
当我在 Google crome 上运行我的 HTTP 网络服务器时,它给出的 324 错误比在 Firefox 中更多。为什么?
【问题讨论】:
-
@All 我发现这个问题主要出在Chrome浏览器上。谁能告诉我,这是与浏览器相关的问题,还是代码丢失问题?
标签: multithreading sockets http tcp webserver