[medusa] HTTPS available ?

rushing@n... rushing@n...
Tue, 27 Apr 1999 16:12:25 -0700 (PDT)

pwelliso@i... writes:
> Is there a https module available ?
> One that makes calls to SSLeay would be great ?

I haven't had time to look into this seriously. If SSLeay doesn't
support non-blocking i/o, then it would be difficult. One way it
might work would be to have medusa's select() loop handle the
descriptors for sockets that have SSL code wrapped around them. I.e.,
medusa sees that a socket is ready for reading, and calls the SSL
version of recv() to get the data. We may have to add another layer
in Python that handles the case of this recv() failing (say, because
the SSL layer needs the rest of a packet of some kind).

> I would be willing to help debug/test/write one if there is not one
> available.

That would be great! I'll help in any way I can.


eGroup home: http://www.eGroups.com/group/medusa
Free Web-based e-mail groups by eGroups.com