weavejester/lein-ring — pull request #15 by JulianBirch (2011-11-03 20:00:14+00:00)
Title: Basic SSL support

Hi, these two commits allow you to sensibly run jetty with SSL. The first commit actually adds the functionality (and, indeed, lets through any run-jetty options except :join?). The second adds a feature to report the ports back to the host application, which is necessary if you're going to create correct URLs that move between the http and https version of the site.

Things it doesn't do:
* It doesn't scan for an SSL port. It just uses the config.
* It doesn't allow you to specify an SSL port on the command line.
* It doesn't report the host name back to the application

Ugly things:
* The sheer number of functions being passed around suggests a need for a refactor.
* The port lookup relies on run-jetty creating the http and then the https connector.

Please let me know what you think.

Thanks,

Julian