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. <wrowe@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