[ 
https://issues.apache.org/jira/browse/HBASE-10039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliott Clark updated HBASE-10039:
----------------------------------

    Attachment: HBASE-10039-0.patch

This one is a little more as there were two issues.
* The first issue was that on doRawSaslReply we weren't closing any streams.  
This was happening with or without exceptions.  So I added a finally and always 
close the stream.
* The next one is that changing socket settings can cause an exception. So the 
socket would remain open but un-usable.  So I catch the expection, close the 
socket and then rethrow.

> Fix potential Resource Leak in RpcServer
> ----------------------------------------
>
>                 Key: HBASE-10039
>                 URL: https://issues.apache.org/jira/browse/HBASE-10039
>             Project: HBase
>          Issue Type: Sub-task
>          Components: IPC/RPC, security
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Critical
>         Attachments: HBASE-10039-0.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to