Added in blocking logic to the NIO connector. This logic ensures that if there is a slow client, we will not be wasting CPU cycles doing endless spinning.
Ideas for this implementation can be credited to the Tribes implementation where we have a pool of selectors, so that each sending thread uses its own selector and from Jeanfrancois Arcand's blog about wrapping a NIO channel in a blocking inputstream.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467044
13f79535-47bb-0310-9956-
ffa450edef68