clj-commons / aleph

Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
http://aleph.io
MIT License
2.54k stars 241 forks source link

Move handling of `:ssl-context` into `aleph.tcp/start-server` itself #720

Closed DerGuteMoritz closed 3 months ago

DerGuteMoritz commented 3 months ago

While :ssl-context is still supported by aleph.netty/start-server for backwards compatibility, it now warns about its use. The motivation is to encourage callers to keep the whole pipeline setup code in a single place to hopefully make it easier to understand at a glance.