Permalink
Browse files

Merge pull request #27 from riptano/jetty-ssl-host

Make Jetty SSL Connector respect :host option
  • Loading branch information...
2 parents 6198239 + b495d7f commit 5feb7551d15047fd7bd3cf8136bff9af879d76cf @weavejester weavejester committed Aug 13, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 ring-jetty-adapter/src/ring/adapter/jetty.clj
View
1 ring-jetty-adapter/src/ring/adapter/jetty.clj
@@ -24,6 +24,7 @@
(let [ssl-connector (SslSocketConnector.)]
(doto ssl-connector
(.setPort (options :ssl-port 443))
+ (.setHost (options :host))
(.setKeystore (options :keystore))
(.setKeyPassword (options :key-password)))
(when (options :truststore)

0 comments on commit 5feb755

Please sign in to comment.