[ 
https://issues.apache.org/jira/browse/HBASE-18081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017413#comment-16017413
 ] 

Duo Zhang commented on HBASE-18081:
-----------------------------------

I think we should read 6 bytes first if we haven't read preamble yet, just like 
what the NettyRpcServer do. Will prepare a patch soon.

> 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
>            Reporter: Duo Zhang
>         Attachments: 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)

Reply via email to