https://bz.apache.org/bugzilla/show_bug.cgi?id=64240

--- Comment #14 from dingli <382188...@qq.com> ---
(In reply to Remy Maucherat from comment #10)
> I fail to see the problem so I added a test case to test HTTP/0.9 support
> (using "GET /CRLF"), and it works for me.

yesterday I can reproduce the bug in my local windows machine and local Ubuntu
VM sometime(NOT everytime)
but I can't reproduce it today :(
maybe it is related with some corner case ? such as uninitialized variable or
memory?

But for tomcat 8.5.51, I can reproduce it everytime
tomcat 8.5.51 won't send content for "GET /CRLF" same as 8.5.53
the difference is 8.5.53 will close the socket immediately  
8.5.51 will keep the socket open and close the socket after 20 seconds

below is the tomcat 8.5.51 catalina log:

20-Mar-2020 13:13:37.718 FINE [http-nio-8080-exec-3]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Processing socket
[org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]] with status [OPEN_READ]
20-Mar-2020 13:13:37.719 FINE [http-nio-8080-exec-3]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Found processor
[null] for socket
[org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]]
20-Mar-2020 13:13:37.719 FINE [http-nio-8080-exec-3]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Popped processor
[org.apache.coyote.http11.Http11Processor@2d8c7e6c] from cache
20-Mar-2020 13:13:37.719 FINE [http-nio-8080-exec-3]
org.apache.coyote.http11.Http11InputBuffer.parseRequestLine Received [GET /^M
]
20-Mar-2020 13:13:37.725 FINE [http-nio-8080-exec-3]
org.apache.coyote.AbstractProcessorLight.process Socket:
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@3eced8ba:org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]], Status in: [OPEN_READ],
State out: [LONG]
20-Mar-2020 13:13:57.751 FINE [http-nio-8080-exec-4]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Processing socket
[org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]] with status [ERROR]
20-Mar-2020 13:13:57.751 FINE [http-nio-8080-exec-4]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Found processor
[org.apache.coyote.http11.Http11Processor@2d8c7e6c] for socket
[org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]]
20-Mar-2020 13:13:57.751 FINE [http-nio-8080-exec-4]
org.apache.coyote.AbstractProtocol.removeWaitingProcessor Removed processor
[org.apache.coyote.http11.Http11Processor@2d8c7e6c] from waiting processors
20-Mar-2020 13:13:57.752 FINE [http-nio-8080-exec-4]
org.apache.coyote.AbstractProcessorLight.process Socket:
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@3eced8ba:org.apache.tomcat.util.net.NioChannel@6fc5100f:java.nio.channels.SocketChannel[connected
local=/192.168.31.50:8080 remote=/192.168.31.6:51783]], Status in: [ERROR],
State out: [CLOSED]
20-Mar-2020 13:13:57.753 FINE [http-nio-8080-exec-4]
org.apache.coyote.AbstractProtocol$ConnectionHandler.release Pushed Processor
[org.apache.coyote.http11.Http11Processor@2d8c7e6c]

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to