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:
parent
d497ca97ce
commit
c70ea8250c
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user