Summary: | Async servlet setReadListener does not work if post request data arrives much later than headers | ||
---|---|---|---|
Product: | Tomcat 9 | Reporter: | Dapeng Zhang <zdapeng> |
Component: | Servlet | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 9.0.10 | ||
Target Milestone: | ----- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Dapeng Zhang
2018-07-25 18:55:24 UTC
This works for me. Note that the example is buggy - it does not handle the "-1" value returned by read when EOF is reached. My mistake. This does work. Sorry about that. But I do have some issues that ReadListener and WriteListener callbacks never get called when using http/2 (https://github.com/grpc/grpc-java/pull/4738). Will update once I find a easy way to reproduce it. |