OpenSearch/modules/transport-netty4
Tim Brooks 797f985067
Add version to handshake requests (#36171)
Currently our handshake requests do not include a version. This is
unfortunate as we cannot rely on the stream version since it is not the
sending node's version. Instead it is the minimum compatibility version.
The handshake request is currently empty and we do nothing with it. This
should allow us to add data to the request without breaking backwards
compatibility.

This commit adds the version to the handshake request. Additionally, it
allows "future data" to be added to the request. This allows nodes to craft
a version compatible response. And will properly handle additional data in
future handshake requests. The proper handling of "future data" is useful
as this is the only request where we do not know the other node's version.

Finally, it renames the TcpTransportHandshaker to
TransportHandshaker.
2018-12-11 16:09:28 -07:00
..
licenses Upgrade Netty 4.3.32.Final (#36102) 2018-11-30 09:02:10 -07:00
src Add version to handshake requests (#36171) 2018-12-11 16:09:28 -07:00
build.gradle Upgrade Netty 4.3.32.Final (#36102) 2018-11-30 09:02:10 -07:00