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

Sebastian Ortega commented on AVRO-898:
---------------------------------------

Hello,

I'm trying to use NettyServer with SSL support and I have problems to do it 
despite your patch has been accepted.  If I am not wrong, the SSLHandler should 
be added only to the worker pipelines but you cannot tell the difference with 
the current interface.

I've prepared a patch of a different approach. I've added a new constructor of 
type ChannelPipelineFactory used to initialize the worker pipeline instead of 
calling Channels.pipeline() directly. Please see the attached path.

If I'm wrong, I wil be very grateful to know how did you solved it Vadim Tsarik.

Thanks in advance
                
> NettyServer doesn't support SSL
> -------------------------------
>
>                 Key: AVRO-898
>                 URL: https://issues.apache.org/jira/browse/AVRO-898
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.4
>            Reporter: Vadim Tsarik
>            Assignee: Doug Cutting
>            Priority: Critical
>             Fix For: 1.6.0
>
>         Attachments: 
> 0001-Add-NettyServer-constructor-for-custom-pipelines.patch, 
> AVRO-898-suggested-change.patch, AVRO-898.patch
>
>
> While there's a way to configure NettyTransceiver to use SSL by using 
> NettyTransceiver's constructor NettyTransceiver(InetSocketAddress addr, 
> ChannelFactory channelFactory) and providing channelFactory that ensures 
> SslHandler is in the pipeline, there's no symmetrical capability in 
> NettyServer.
> Adding constructor to NettyServer that would take in ChannelFactory could 
> resolve the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to