Revert "Merge pull request #17182 from s1monw/issues/17090"

This reverts commit 0fe47f8136, reversing
changes made to 3b17ddcd46.
This commit is contained in:
Simon Willnauer 2016-03-18 10:37:44 +01:00
parent 0fe47f8136
commit b693a520ee
1 changed files with 0 additions and 4 deletions

View File

@ -127,10 +127,6 @@ public class MessageChannelHandler extends SimpleChannelUpstreamHandler {
}
streamIn = compressor.streamInput(streamIn);
}
if (version.onOrAfter(Version.CURRENT.minimumCompatibilityVersion()) == false || version.major != Version.CURRENT.major) {
throw new IllegalStateException("Received message from unsupported version: [" + version
+ "] minimal compatible version is: [" +Version.CURRENT.minimumCompatibilityVersion() + "]");
}
streamIn.setVersion(version);
if (TransportStatus.isRequest(status)) {
threadContext.readHeaders(streamIn);