https://bz.apache.org/bugzilla/show_bug.cgi?id=62899
Bug ID: 62899 Summary: Async servlet over HTTP/2 on embedded server sporadically timeout forever when reading near end of request Product: Tomcat 9 Version: 9.0.12 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet Assignee: dev@tomcat.apache.org Reporter: zdap...@google.com Target Milestone: ----- Steps to produce: 1. Install nghttp (https://github.com/http2/http2-spec/wiki/Tools) 2. Compile the following java code. https://github.com/dapengzhang0/servlettest/blob/master/src/main/java/AsyncReadEmbedded.java (The program runs a simple servlet using Embedded Tomcat server. It creates a file with 271828 bytes, and use nghttp to send a POST request over HTTP/2 to the servlet uploading the data from the file. It will fail if the request timeout or any exception is thrown, otherwise it succeeds.) 3. Write a script to repeatedly run the code until it fails. (My experiments showed it sporadically fails once every less than 100 runs. The failure is read timeout near the end of request data, when there is half close from the client and a window update) Thanks. -- 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