Issue #833 resolved

Using cherryd with fastcgi, cherryd does not check for server.socket_file config settings

guest
created an issue

When using the fastcgi option, cherryd requires a host/port combo for use with bindAddress, even if the global configuration provides a socket file to use instead. The cherryd code could be changed thusly:

{{{ sock_file = cherrypy.config.get('server.socket_file', None) if sock_file: bindAddress = sock_file else: fastcgi_port = cherrypy.config.get('server.socket_port', 4000) fastcgi_bindaddr = cherrypy.config.get('server.socket_host', '0.0.0.0') bindAddress = (fastcgi_bindaddr, fastcgi_port) }}}

I'm not actually sure if that would work or not.

Comments (5)

  1. Log in to comment