mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Revert "Merge pull request #17182 from s1monw/issues/17090"
This reverts commit 0fe47f813610e9f13ba45a6539d9ac8dbf8490cc, reversing changes made to 3b17ddcd46fdb86f3da7fa4666bb4cb4f0be8366.
This commit is contained in:
parent
0fe47f8136
commit
b693a520ee
@ -127,10 +127,6 @@ public class MessageChannelHandler extends SimpleChannelUpstreamHandler {
|
|||||||
}
|
}
|
||||||
streamIn = compressor.streamInput(streamIn);
|
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);
|
streamIn.setVersion(version);
|
||||||
if (TransportStatus.isRequest(status)) {
|
if (TransportStatus.isRequest(status)) {
|
||||||
threadContext.readHeaders(streamIn);
|
threadContext.readHeaders(streamIn);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user