Hi Mark,

> -----Original Message-----
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Thursday, October 3, 2013 10:56 AM

> > Thanks. When I now open snake.xhtml with Chrome, press a key and close
> Chrome, then the snake disappears.
> > Then, I also get the following exception - probably because the Throwable
> in onError() method is a IOException, but not a EOFException. Is it okay to
> change the code in SnakeAnnotation.onError() to catch a IOException instead
> of EOFException?
> 
> No. The only time we want to swallow the error is on EOF.
> 
> 70014 is the APR error code for EOF so we need to report that as EOF
> rather than as a generic IOException. That should be easy to do.
> 
> Mark

OK, with r1528758 it reports now an EOFException instead of IOException for APR 
and NIO when I close Chrome, which gets swallowed.

Thanks!


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to