On 22/09/2021 08:22, Goldengate liu wrote:
Hi Chris,
Servlet 3.1 spec defines that ServletInputStream can be used to read as
non-blocking way as long as there is data ready locally by calling isReady
method and check the ready condition before calling read, and read should throw
IllegalStateException if called by caller when data is not ready
The above only applies if the servlet is in async mode. Is it?
correct, when it’s running as async mode
OK. You are going to need to provide the simplest complete example that
demonstrates this then. Something like the source for a single Servlet
and a curl command to send a request to it.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org