[
https://issues.apache.org/jira/browse/BOOKKEEPER-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo updated BOOKKEEPER-143:
---------------------------------
Attachment: BOOKKEEPER-143.diff
Attach a new patch, which
1) removes ssl context from eventdispatcher. instead, create a
SSLContextFactory in channel.h to create ssl context for ssl channel.
seems that ssl context needs to be created for each channel. so I just created
the context when creating the ssl channel.
2) remove ssl_shutdown when closeSockets for mac os. after that, the core dump
doesn't appear. I am not sure why it cores when ssl shutdown, because ssl
shutdown just send a shutdown notify request to server. so remove shutdown just
close its underlying socket works well.
> Add SSL support for hedwig cpp client
> -------------------------------------
>
> Key: BOOKKEEPER-143
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-143
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-client
> Affects Versions: 4.0.0
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.2.0
>
> Attachments: BOOKKEEPER-143.diff, BOOKKEEPER-143.diff,
> BOOKKEEPER-143.diff, BOOKKEEPER-143.patch, ssl.segfault
>
>
> Currently Hedwig CPP client doesn't support SSL.
> Example for boost::asio using SSL:
> http://www.boost.org/doc/libs/1_46_1/doc/html/boost_asio/example/ssl/client.cpp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira