Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/SslConnection.java @ 1068:9d357b9e4bcb
fix BufferUtil.newBuffer()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 10 Nov 2016 00:23:05 -0700 |
parents | 158d1e6ac17f |
children | b4ba8a4d5a16 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SslConnection.java Thu Nov 10 00:08:39 2016 -0700 +++ b/src/org/eclipse/jetty/io/nio/SslConnection.java Thu Nov 10 00:23:05 2016 -0700 @@ -82,8 +82,11 @@ SslBuffers(int packetSize, int appSize) { _in = BufferUtil.newBuffer(packetSize); + _in.limit(0); _out = BufferUtil.newBuffer(packetSize); + _out.limit(0); _unwrap = BufferUtil.newBuffer(appSize); + _unwrap.limit(0); } }