Re: UpgradedServletInputStream.read EOF

2017-10-09 Thread Mark Thomas
On 09/10/17 15:51, Sergey Mashkov wrote: > Hi > > Could anybody explain me why UpgradedServletInputStream does fail with > EOFException in non-blocking mode instead of returning -1 ? I'm not sure why an EOFException is happening. My guess is multiple calls to read() without calling isReady() betw

UpgradedServletInputStream.read EOF

2017-10-09 Thread Sergey Mashkov
Hi Could anybody explain me why UpgradedServletInputStream does fail with EOFException in non-blocking mode instead of returning -1 ? Where can I find exact Servlet API specification about this async API behaviour? java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapp