Re: Any plans for SSLeay support?

Doug MacEachern (dougm@osf.org)
Mon, 09 Dec 1996 10:14:58 -0500


Gisle Aas <aas@bergen.sn.no> wrote:

> Doug MacEachern <dougm@osf.org> writes:
> > I had a need for this at one point, sat down and wrote
> > LWP::SSLeayIO, LWP::SSLeaySocket, LWP::Protocol::https 
> > and some other gunk.  I had trouble trying to leave 
> > existing classes alone, this required duplicating much
> > code.  I got as far as the server logging an error 
> > about invalid SSL something or other.
> > But, due to time constraints, got around my problem
> > another way.  My biggest mistake was writing this in 
> > the source tree, later forgetting, deleting, argh.  
> 
> Shit happens :-(

How true, but I only lost a little code, and how to write it
again is still upstairs :-)

> 
> What was your major aproach for this?  Did you use the SSLeay.pm
> module?  (http://www.neuronio.pt/SSLeay.pm)

Yes, SSLeay.pm with libssl underneath, do all of the real work.

> 
> Would it be possible to just do a LWP::SSLeay_IO and then let the
> normal LWP::Protocol::http module talk over a channel like that?

This is possible, and probably the right way to go, but http.pm and
LWP::Socket would still require some changes.  My plan was just to
get something working without changing existing modules, then let 
you decide.  I will need this in the coming weeks, I could try to do
it sooner than later, unless someone else does.  So, if anyone has
their own plans for adding this support please let the list know.

Cheers,
-Doug

> 
> Regards,
> Gisle
>