Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2032

Show
Ignore:
Timestamp:
08/15/08 14:59:21
Author:
fumanchu
Message:

Bumped up the priority of DropPrivileges?.start to support the most common use: bind to a low port as root.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/process/plugins.py

    r2031 r2032  
    234234         
    235235        self.finalized = True 
    236     start.priority = 75 
     236    # This is slightly higher than the priority for server.start 
     237    # in order to facilitate the most common use: starting on a low 
     238    # port (which requires root) and then dropping to another user. 
     239    start.priority = 77 
    237240 
    238241 

Hosted by WebFaction

Log in as guest/cpguest to create tickets