diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-04-17 10:09:08 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-04-17 10:09:08 +0000 |
commit | 43e9f8f1181d8e00926eb959cc54995f6f9c94da (patch) | |
tree | b004b80316db72ca8a6cfaa3f10a8e1714d6ddce /src/com/itmill/toolkit | |
parent | e52771cdcd996630057f17372b41c8957a5bfc70 (diff) | |
download | vaadin-framework-43e9f8f1181d8e00926eb959cc54995f6f9c94da.tar.gz vaadin-framework-43e9f8f1181d8e00926eb959cc54995f6f9c94da.zip |
Merged additional fix for #2847 - Problem running on Oracle OAS10g. Fixed typo
svn changeset:7455/svn branch:6.0
Diffstat (limited to 'src/com/itmill/toolkit')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java b/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java index 0b92701363..033284259d 100644 --- a/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java +++ b/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java @@ -787,7 +787,7 @@ public class CommunicationManager implements Paintable.RepaintRequestListener, ServletInputStream inputStream = request.getInputStream(); int bytesRemaining = requestLength; - while (bytesRemaining >= 0) { + while (bytesRemaining > 0) { int bytesToRead = Math.min(bytesRemaining, MAX_BUFFER_SIZE); int bytesRead = inputStream.read(buffer, requestLength - bytesRemaining, bytesToRead); |