Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1067:56b515be91e1 | 1068:9d357b9e4bcb |
---|---|
80 final JBuffer _unwrap; | 80 final JBuffer _unwrap; |
81 | 81 |
82 SslBuffers(int packetSize, int appSize) | 82 SslBuffers(int packetSize, int appSize) |
83 { | 83 { |
84 _in = BufferUtil.newBuffer(packetSize); | 84 _in = BufferUtil.newBuffer(packetSize); |
85 _in.limit(0); | |
85 _out = BufferUtil.newBuffer(packetSize); | 86 _out = BufferUtil.newBuffer(packetSize); |
87 _out.limit(0); | |
86 _unwrap = BufferUtil.newBuffer(appSize); | 88 _unwrap = BufferUtil.newBuffer(appSize); |
89 _unwrap.limit(0); | |
87 } | 90 } |
88 } | 91 } |
89 | 92 |
90 public SslConnection(SSLEngine engine,AsyncEndPoint endp) | 93 public SslConnection(SSLEngine engine,AsyncEndPoint endp) |
91 { | 94 { |