[
https://issues.apache.org/jira/browse/DRILL-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039343#comment-14039343
]
Parth Chandra commented on DRILL-1045:
--------------------------------------
I am not able to reproduce a crash on Mac, Linux, or Windows. However, the
boost documentation does recommend calling shutdown before close, so we should.
I've tried this out on Mac, Linux and Windows with my build and it seems to be
good.
The fix I'm making for Drill-998 is in the same code area and the patch fails
to apply so Drill-998 should go in after this fix.
> C++ Client Crash when connection is not valid
> ---------------------------------------------
>
> Key: DRILL-1045
> URL: https://issues.apache.org/jira/browse/DRILL-1045
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - C++
> Reporter: Norris Lee
> Assignee: Xiao Meng
> Fix For: 1.0.0-BETA1
>
> Attachments: DRILL-1045-patch.diff
>
>
> When trying to connect to an invalid server, a crash will occur. This is
> because when trying to shutdown the socket, an error code is thrown and not
> caught.
--
This message was sent by Atlassian JIRA
(v6.2#6252)