avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Langdale (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-772) Can not use SSL with HTTP RPC
Date Mon, 21 Feb 2011 18:05:38 GMT

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

Philip Langdale commented on AVRO-772:
--------------------------------------

That's slightly too little code.

HttpConnectorServer is a trivial variation of HttpServer that uses a different Server contructor:

To wit:

    public HttpConnectorServer(Responder responder, Connector connector)
            throws IOException {
        this(new ResponderServlet(responder), connector);
    }
    
    public HttpConnectorServer(ResponderServlet servlet, Connector connector)
            throws IOException {
        this.server = new org.mortbay.jetty.Server();
        this.server.addConnector(connector);
        new Context(server, "/").addServlet(new ServletHolder(servlet), "/*"); 
    }

The rest is the same as HttpServer.

> Can not use SSL with HTTP RPC
> -----------------------------
>
>                 Key: AVRO-772
>                 URL: https://issues.apache.org/jira/browse/AVRO-772
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.1
>            Reporter: Bruce Mitchener
>            Priority: Blocker
>
> I don't see that it is possible to set up the HTTP RPC code to use SSL.
> Flume needs this feature if the Avro support is to keep pace with the Thrift support.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message