Safe copy of buffer for test
This commit is contained in:
parent
2f6e17f681
commit
712a6cfe8f
@ -180,7 +180,7 @@ public class SocketSpdyEchoTest extends AbstractSocketTest {
|
|||||||
ByteBuf frames = createFrames(version);
|
ByteBuf frames = createFrames(version);
|
||||||
|
|
||||||
final SpdyEchoTestServerHandler sh = new SpdyEchoTestServerHandler();
|
final SpdyEchoTestServerHandler sh = new SpdyEchoTestServerHandler();
|
||||||
final SpdyEchoTestClientHandler ch = new SpdyEchoTestClientHandler(frames);
|
final SpdyEchoTestClientHandler ch = new SpdyEchoTestClientHandler(frames.copy());
|
||||||
|
|
||||||
sb.childHandler(new ChannelInitializer<SocketChannel>() {
|
sb.childHandler(new ChannelInitializer<SocketChannel>() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user