miyagawa/Plack-Handler-AnyEvent-HTTPD — pull request #2 by Corion (2012-07-13 23:26:53+00:00)
Title: Https support

This needs a patch to AnyEvent::Handle on my (Windows) machine to make Net::SSLeay behave. That patch is submitted to Marc Lehman already.

On Linux, I needed to upgrade all libraries to their latest versions to make t/01_ssl.t pass:

AnyEvent::HTTP 2.14
AnyEvent 7.01
EV 4.11

I don't know which one of these was needed, I guess AnyEvent and EV were the culprits.

So I'm not sure if this is really a good idea, as it has some hard-to-control prerequisites. But if you want to serve HTTPS with AnyEvent, this is the only way I found that works. And I use it for a server that can serve both, HTTP and HTTPS in the same process, on Windows :-)