diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1065:158d1e6ac17f

fix JBuffer.compact()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 09 Nov 2016 04:36:05 -0700
parents a0abb16cf6e7
children 9d357b9e4bcb
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Wed Nov 09 03:09:37 2016 -0700
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Wed Nov 09 04:36:05 2016 -0700
@@ -738,7 +738,7 @@
 			if (_onebyte==null)
 				_onebyte = BufferUtil.newBuffer(1);
 			else
-				_onebyte.clear();
+				_onebyte.clearJ();
 			_onebyte.put((byte)b);
 			write(_onebyte);
 		}