aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-07-03 12:13:07 (EDT)
committerThomas Becker2013-07-03 12:13:07 (EDT)
commitf8049caf3d85089c52a8f72d4b3e22b8e456031d (patch)
tree020a7e173b1283dab8d302b811c9b893190e5be8
parenta85711420d85ec16174844f3279d668b1393b8e7 (diff)
downloadorg.eclipse.jetty.project-f8049caf3d85089c52a8f72d4b3e22b8e456031d.zip
org.eclipse.jetty.project-f8049caf3d85089c52a8f72d4b3e22b8e456031d.tar.gz
org.eclipse.jetty.project-f8049caf3d85089c52a8f72d4b3e22b8e456031d.tar.bz2
412234 fix bug where NetworkTrafficSelectChannelEndpoint counted bytes wrong on incomplete writes
-rw-r--r--jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSelectChannelEndPoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSelectChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSelectChannelEndPoint.java
index 5193f07..65878ce 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSelectChannelEndPoint.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSelectChannelEndPoint.java
@@ -57,7 +57,7 @@ public class NetworkTrafficSelectChannelEndPoint extends SelectChannelEndPoint
if (b.hasRemaining())
{
int position = b.position();
- flushed|=super.flush(b);
+ flushed&=super.flush(b);
int l=b.position()-position;
notifyOutgoing(b, position, l);
if (!flushed)