[CherryPy] #833: Using cherryd with fastcgi, cherryd does not check for server.socket_file config settings

3 views
Skip to first unread message

CherryPy

unread,
Jul 2, 2008, 1:31:36 AM7/2/08
to cherrypy...@googlegroups.com
#833: Using cherryd with fastcgi, cherryd does not check for server.socket_file
config settings
---------------------------+------------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Keywords: cherryd, fastcgi
---------------------------+------------------------------------------------
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.

--
Ticket URL: <http://www.cherrypy.org/ticket/833>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework

CherryPy

unread,
Aug 26, 2008, 5:25:35 AM8/26/08
to cherrypy...@googlegroups.com
#833: Using cherryd with fastcgi, cherryd does not check for server.socket_file
config settings
------------------------------+---------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: high | Milestone:
Component: CherryPy code | Resolution:
Keywords: cherryd, fastcgi |
------------------------------+---------------------------------------------
Changes (by asm...@snap.tv):

* cc: => asm...@snap.tv
* priority: normal => high

Comment:

+1
This works just fine for me.

CherryPy

unread,
Sep 8, 2008, 8:06:48 AM9/8/08
to cherrypy...@googlegroups.com
#833: Using cherryd with fastcgi, cherryd does not check for server.socket_file
config settings
------------------------------+---------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: high | Milestone:
Component: CherryPy code | Resolution:
Keywords: cherryd, fastcgi |
------------------------------+---------------------------------------------
Changes (by asm...@snap.tv):

* cc: asm...@snap.tv =>

Comment:

This appears to have been fixed in [2018]. That's what I get for not
looking at HEAD.

--
Ticket URL: <http://cherrypy.org/ticket/833>

CherryPy

unread,
Sep 27, 2008, 3:40:13 PM9/27/08
to cherrypy...@googlegroups.com
#833: Using cherryd with fastcgi, cherryd does not check for server.socket_file
config settings
------------------------------+---------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: closed
Priority: high | Milestone: 3.1
Component: CherryPy code | Resolution: fixed
Keywords: cherryd, fastcgi |
------------------------------+---------------------------------------------
Changes (by fumanchu):

* milestone: => 3.1
* resolution: => fixed
* status: new => closed
Reply all
Reply to author
Forward
0 new messages