Additional headers in WebSocket draft (Was: Re: Netty 3.2.0.ALPHA3 release: Web Sockets and higher performance)
puran
mailtopuran at gmail.com
Tue Jun 22 02:17:33 EDT 2010
Hi Trustin,
It didn't work for me. I tried the example also but it says connection not
open. I tried to debug and i see ReplayError in the method
private void readFixedLengthContent(ChannelBuffer buffer) {
long length = HttpHeaders.getContentLength(message, -1);
assert length <= Integer.MAX_VALUE;
if (content == null) {
content = buffer.readBytes((int) length);
} else {
content.writeBytes(buffer.readBytes((int) length));
}
}
when it tries to read the bytes content = buffer.readBytes((int) length); of
length 10.
No idea why it throws an error.. then channel is disconnected.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-3-2-0-ALPHA3-release-Web-Sockets-and-higher-performance-tp4285108p5207431.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list