Hi Did some testing and removing unlockAccept works equally fine (and in some circumstances pause/continue and even shutdown is much faster). Using a simple socket close on stop/destroy and monitoring for pause 'after' acceptSocket() by not handling single connection received after pause eliminates the need for unlockAccept entirely. It also fixes various issues with disappearing network stack, link-local addresses, and various hang-outs on shutdown/pause.
Any objections that I commit that to trunk? AFAICT this is not covered by any spec and the only change is that a single connection that could get accepted during pause phase can receive ECONNRESET instead ECONNREFUSED in case pause continues beyond client socket timeout. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org