On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote:
I'm aware that a correct implementation must empty the buffer on a READ event, but as I stated in the original post, a READ event is never received (not even when the client forces a disconnect), only the initial BEGIN event, so had I included a read on READ it wouldn't matter and would only serve to clutter the test case. If I'm supposed to read when receiving BEGIN, I'll admit my test is incorrect, but then the example at http://tomcat.apache.org/tomcat-6.0-doc/aio.html needs to be corrected too.
So you can also confirm APR and NIO do the same ? I don't see how you're not going to get an error event in that particular case. However, I can't test it personally, so maybe you can look into this a bit deeper (otherwise, most likely Filip will). Rémy --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]