diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1068:9d357b9e4bcb

fix BufferUtil.newBuffer()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 00:23:05 -0700
parents 158d1e6ac17f
children a44fc6b53757
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Thu Nov 10 00:08:39 2016 -0700
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Thu Nov 10 00:23:05 2016 -0700
@@ -738,8 +738,8 @@
 			if (_onebyte==null)
 				_onebyte = BufferUtil.newBuffer(1);
 			else
-				_onebyte.clearJ();
-			_onebyte.put((byte)b);
+				_onebyte.clear();
+			_onebyte.putQ((byte)b);
 			write(_onebyte);
 		}