Safe copy of buffer for test

This commit is contained in:
Norman Maurer 2013-01-03 22:50:11 +01:00
parent 2f6e17f681
commit 712a6cfe8f

View File

@ -180,7 +180,7 @@ public class SocketSpdyEchoTest extends AbstractSocketTest {
ByteBuf frames = createFrames(version);
final SpdyEchoTestServerHandler sh = new SpdyEchoTestServerHandler();
final SpdyEchoTestClientHandler ch = new SpdyEchoTestClientHandler(frames);
final SpdyEchoTestClientHandler ch = new SpdyEchoTestClientHandler(frames.copy());
sb.childHandler(new ChannelInitializer<SocketChannel>() {
@Override