On 03/11/2014 19:47, Christopher Schultz wrote: > Mark, > > On 11/3/14 9:52 AM, Mark Thomas wrote: >> As you may have noticed, I started work on Tomcat 9 earlier today. >> >> A quick summary of the changes: >> - Tomcat 8 trunk has moved in svn to /tomcat/tc8.0.x/trunk >> - INFRA has been requested to create git mirrors for 8.0.x >> - Bugzilla project has been created for Tomcat 9 >> - Basic web site updates have been completed for Tomcat 9 >> >> I plan to start work on removing BIO and Comet and refactoring the >> connectors next. > > Please consider my proposal to keep the BIO connector but disallow use > of async protocols with it. The BIO connectors are simple, efficient, > and are often a good fallback when something goes awry with NIO.
The only times I see NIO go awry these days is in the async code and that is as complex as it is partly to support the continued use of BIO. There was a small hack in 7.0.x for async processing, a larger hack in 8.0.x for non-blocking I/O. I suspect an even bigger hack would be required in 9.0.x. If folks don't need async features and want to use BIO simply use Tomcat 8. Based on the typical life time of a major Tomcat version that is likely to be around for a good few years yet. The connector code is complex and suffers from large amounts of copy / paste / edit. One of my goals with 9.0.x is to simplify the code, reduce the duplication and make the async code more robust. Removing BIO and Comet are part of that. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org