[
https://issues.apache.org/jira/browse/HBASE-18081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018805#comment-16018805
]
Anoop Sam John commented on HBASE-18081:
----------------------------------------
Yes as said by Duo.. We always had an assumption that when the preamble 4 bytes
comes, it will be followed by the 2 bytes immediately. This fix make things
full proof. +1
> The way we process connection preamble in SimpleRpcServer is broken
> -------------------------------------------------------------------
>
> Key: HBASE-18081
> URL: https://issues.apache.org/jira/browse/HBASE-18081
> Project: HBase
> Issue Type: Bug
> Components: IPC/RPC
> Affects Versions: 2.0.0, 1.4.0, 1.3.1, 1.2.5, 1.1.10
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0, 1.4.0, 1.2.6, 1.3.2, 1.1.11
>
> Attachments: HBASE-18081-branch-1.2.patch,
> HBASE-18081-branch-1.3.patch, HBASE-18081-branch-1.patch, HBASE-18081.patch,
> HBASE-18081-testcase.patch
>
>
> Though very rare, but if the preamble is not sent at once, the logic will be
> broken.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)