Ticket #833 (defect)
Opened 5 months ago
Last modified 2 months ago
Using cherryd with fastcgi, cherryd does not check for server.socket_file config settings
Status: closed (fixed)
| Reported by: | guest | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | high | Milestone: | 3.1 |
| Component: | CherryPy code | Keywords: | cherryd, fastcgi |
| Cc: |
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.
Change History
08/26/08 04:25:33: Modified by asmundg@snap.tv
- cc set to asmundg@snap.tv.
- priority changed from normal to high.
09/08/08 07:06:42: Modified by asmundg@snap.tv
- cc deleted.
This appears to have been fixed in [2018]. That's what I get for not looking at HEAD.
09/27/08 14:40:04: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.
- milestone set to 3.1.


+1 This works just fine for me.