Add a new handler which is called SpdyHttpResponseStreamIdHandler and takes care of adding the right STREAM_ID if non is present. This makes it possible to reuse http only handlers with spdy. See #626

This commit is contained in:
Norman Maurer 2012-09-23 22:46:31 +02:00
parent d497ca97ce
commit c70ea8250c

View File

@ -102,6 +102,7 @@ public abstract class SpdyOrHttpChooser implements ChannelUpstreamHandler {
pipeline.addLast("spdySessionHandler", new SpdySessionHandler(version, true));
pipeline.addLast("spdyHttpEncoder", new SpdyHttpEncoder(version));
pipeline.addLast("spdyHttpDecoder", new SpdyHttpDecoder(version, maxSpdyContentLength));
pipeline.addLast("spdyStreamIdHandler", new SpdyHttpResponseStreamIdHandler());
pipeline.addLast("httpRquestHandler", createHttpRequestHandlerForSpdy());
}