fukamachi / clack

Web server abstraction layer for Common Lisp
MIT License
1.04k stars 86 forks source link

Support :address for Hunchentoot server. #159

Closed svetlyak40wt closed 5 years ago

svetlyak40wt commented 5 years ago

Before this patch, :address argument to clackup was ignored and port was always bound to outer interface 0.0.0.0. This is not secure when you want to run application on the desktop or behind some sort of a proxy.

After this patch, you can do:

(clackup app
         :server :hunchentoot
         :address "127.0.0.1"
         :port 8080)

and to be sure that port was bound to 127.0.0.1.

fukamachi commented 5 years ago

Thanks!