You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Nathan Mittler <na...@gmail.com> on 2007/08/04 19:36:12 UTC

ssl sockets

Hi everyone,
I was just reading through the docs in trunk for ssl sockets.  Great to see
that ssl is making its way into APR!

At first glance, I don't see a way to wrap an ssl socket around a
pre-existing (tcp) socket.  Does this functionality exist and if not, are
there plans to add it in the future?

Thanks,
Nate

Re: ssl sockets

Posted by Nathan Mittler <na...@gmail.com>.
I've created an issue and attached a small patch
http://issues.apache.org/bugzilla/show_bug.cgi?id=43035

I think this should do the trick.

Regards,
Nate

On 8/4/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>
> Nathan Mittler wrote:
> > Hi everyone,
> > I was just reading through the docs in trunk for ssl sockets.  Great to
> > see that ssl is making its way into APR!
> >
> > At first glance, I don't see a way to wrap an ssl socket around a
> > pre-existing (tcp) socket.  Does this functionality exist and if not,
> > are there plans to add it in the future?
>
> We will need to.  Too many STARTTLS style protocols require a dynamic
> upgrade of the socket to SSL encryption.
>
> Patches are welcome ;-)
>
> Bill
>

Re: ssl sockets

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Nathan Mittler wrote:
> Hi everyone,
> I was just reading through the docs in trunk for ssl sockets.  Great to
> see that ssl is making its way into APR!
> 
> At first glance, I don't see a way to wrap an ssl socket around a
> pre-existing (tcp) socket.  Does this functionality exist and if not,
> are there plans to add it in the future?

We will need to.  Too many STARTTLS style protocols require a dynamic
upgrade of the socket to SSL encryption.

Patches are welcome ;-)

Bill