php invalid request,PHP本地服务器请求无效(意外的EOF)

令狐和裕
2023-12-01

这是一个已知的错误。

[2011-12-08 15:01 UTC] lolautruche at gmail dot com

Description:

------------

From time to time, built-in server with router script logs this kind of stuff :

[Thu Dec 8 13:39:29 2011] 127.0.0.1:50358 Invalid request (Unexpected EOF)

This happens quite randomly, whatever the script has a close tag or not, whatever

it has a blank line after close tag or not.

和解释:

[2012-02-23 18:45 UTC] michal dot pipa dot xsolve at gmail dot com

...

Chromium has feature called "Predict network actions to improve page load performance"

and its enabled by default. It works this way, that if HTML page has links to some

resources, than Chromium opens about 10 TCP connections in advance. And then if browser

has less than 10 resources to fetch, unused connections times out after 10 seconds.

And this (empty payload) causes PHP server to display "Invalid request (unexpected EOF)"

message.

这是PHP内置服务器的无害错误。

 类似资料: