179180181182183184185186187188189
vertx.runOnContext(new VoidHandler() { @Override protected void handle() { handleEnd(theTrailer); // release the buffer after process it theTrailer.release(); } }); hasPausedEnd = false; pausedTrailer = null; }
8283848586878889
Assert.assertNull(res.headers().get(HttpHeaderNames.SEC_WEBSOCKET_PROTOCOL)); } LastHttpContent content = ch2.readInbound(); Assert.assertEquals("8jKS'y:G*Co,Wxa-", content.content().toString(CharsetUtil.US_ASCII)); content.release(); } }