> -----Original Message----- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 27, 2013 5:18 PM > To: 'Tomcat Users List' > Subject: RE: Another Non-blocking IO Question
> 2) If I read correctly, when onAllDataRead() is called, you call > asyncContext.complete(); without checking if sos.isReady() is true. This could > mean that the AsyncContext is completed before the last call to sos.write() > has finished. When I tried this with Tomcat's NumberWriter example, this > meant that the browser did not receive all data - the last 8 KB block was > missing. OK, forget this - it was an error in my test. Tomcat correctly wrote all bytes to the response here. Regards, Konstantin Preißer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org