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

--- Comment #9 from Nathan <ningj...@163.com> ---
(In reply to Nathan from comment #8)
> I will try other versoins like 8.5.100 later. It is truely difficult to
> reproduce this bug in other applications in test environment. Here is some
> infos.
> 
> 1.We use the same url path (e.g /test/foo ,not the real uri, I will deal
> with params in my application), so i think it has nothing to do with HTTP
> specification compliance.Also I don't think there is any sort of pattern in
> url.
> And I don't test it in websocket or http2. 
> 2.It is deployed in standalone type. I didn't pay attention to the embedding
> type yet.And we didn't use ROOT or manager, just put applications into
> webapps directoty.
> 
> Additionally, I came across a phenomenon during debugging in ide. When I
> debug in ide, It will go into timeout method, and it will return 404. After
> that, It will return 404 forever. But in product environment, I don't think
> it will happen.
> 
> 
> ------------------------------
> org.apache.tomcat.util.net.NioEndpoint$Poller#run()
>   // Process timeouts
>   timeout(keyCount,hasEvents);
> 
> ------------------------------
> org.apache.tomcat.util.net.NioEndpoint$Poller#timeout(int keyCount, boolean
> hasEvents)
> 
> } else if (!processSocket(socketWrapper, SocketEvent.ERROR, true)) {
>                                     cancelledKey(key, socketWrapper);
>                                 }
> ------------------------------

Sorry, correct the description above:

 Additionally, I came across a phenomenon during debugging in ide. When I
 debug in ide, It will go into timeout method, and it will return 404. After
 that, the Poller thread  [http-nio-8080-Poller] will invoke the code every
time a request comes in in 60 seconds, while the browser get a 200 response .

-- 
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