/[Apache-SVN]
ViewVC logotype

Revision 1518158


Jump to revision: Previous Next
Author: markt
Date: Wed Aug 28 10:58:05 2013 UTC (10 years, 8 months ago)
Changed paths: 4
Log Message:
Remove nbRead(). Calls to available() now trigger a call of fill(false) (i.e. non-blocking). This avoids a problem observed on the users list where repeated calls to available() in turn triggered calls to nbRead() that resulted in the buffer being expanded as nbRead() didn't reset pos and lastValid when adding data to what was essentially an empty buffer.

Changed paths

Path Details
Directorytomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/http11/InternalAprInputBuffer.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java modified , text changed
Directorytomcat/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26