[
https://issues.apache.org/jira/browse/BOOKKEEPER-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460092#comment-13460092
]
Sijie Guo commented on BOOKKEEPER-143:
--------------------------------------
{quote}
Why not create a context for each ssl_socket? It would avoid the need to modify
event dispatcher at all. They take 60 microseconds to create, and are 24bytes
in size. It seems reasonable as overhead as we'll have 64k sockets max anyhow.
{quote}
The 64k limitation is for a client connects to a host. If the client connects
to several hosts, the number is not just 64k. besides that, I think 60
microseconds is calculated without loading verify file, if client loads and
very pem file, the overhead would be big.
> 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.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