Skip to content

Commit

Permalink
Removing unused Http2PrefaceHandler.
Browse files Browse the repository at this point in the history
Motivation:

All of the functionality has been merged into
AbstractHttp2ConnectionHandler.

Modifications:

Removed the Http2PrefaceHandler/Test and all uses.

Result:

Code cleaned up a bit.
  • Loading branch information
nmittler committed Jul 2, 2014
1 parent ba81831 commit 812e171
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 201 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public void setup() throws Exception {
@Override
protected void initChannel(Channel ch) throws Exception {
ChannelPipeline p = ch.pipeline();
p.addLast(new Http2PrefaceHandler(true));
p.addLast(new DelegatingHttp2ConnectionHandler(true, new FrameCountDown()));
}
});
Expand All @@ -86,7 +85,6 @@ protected void initChannel(Channel ch) throws Exception {
@Override
protected void initChannel(Channel ch) throws Exception {
ChannelPipeline p = ch.pipeline();
p.addLast(new Http2PrefaceHandler(false));
p.addLast(new DelegatingHttp2ConnectionHandler(false, serverObserver));
}
});
Expand Down

This file was deleted.

0 comments on commit 812e171

Please sign in to comment.