- Add more accurate available() method, using a new action (still very cheap to invok...
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 27 Apr 2007 17:04:36 +0000 (17:04 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 27 Apr 2007 17:04:36 +0000 (17:04 +0000)
commit4cd6b75bb9c30e120527ef395339cb9312d0f99e
tree227039f7b52084d238822bf0c68f1d4c5a46a533
parenta1035773b92d2bdefde2222fc4dd4cc5086517a5
- Add more accurate available() method, using a new action (still very cheap to invoke, and quite simple).
- This is mostly useful for Comet, since it can be difficult to know for sure if reading is possible without
  blocking if the beginning of the entity body was sent along with the request header in a single packet.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@533164 13f79535-47bb-0310-9956-ffa450edef68
14 files changed:
java/org/apache/catalina/connector/CoyoteInputStream.java
java/org/apache/catalina/connector/InputBuffer.java
java/org/apache/coyote/ActionCode.java
java/org/apache/coyote/Request.java
java/org/apache/coyote/http11/Http11AprProcessor.java
java/org/apache/coyote/http11/Http11NioProcessor.java
java/org/apache/coyote/http11/InputFilter.java
java/org/apache/coyote/http11/InternalAprInputBuffer.java
java/org/apache/coyote/http11/InternalNioInputBuffer.java
java/org/apache/coyote/http11/filters/BufferedInputFilter.java
java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
java/org/apache/coyote/http11/filters/IdentityInputFilter.java
java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java
java/org/apache/coyote/http11/filters/VoidInputFilter.java