Changeset 49:6ab2a5f5d65d

Show
Ignore:
Timestamp:
11/26/06 22:30:01 (2 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@2126
Message:

Don't attempt to install signal handlers under Windows
to improve compatibility.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r48 r49  
     12006-11-26  Allan Saddi  <asaddi@europa.saddi.net> 
     2 
     3        * Don't attempt to install signal handlers under Windows 
     4          to improve compatibility. 
     5 
    162006-11-24  Allan Saddi  <asaddi@europa.saddi.net> 
    27 
  • flup/server/threadedserver.py

    r38 r49  
    2828__version__ = '$Revision$' 
    2929 
     30import sys 
    3031import socket 
    3132import select 
     
    6263        self._keepGoing = True 
    6364        self._hupReceived = False 
    64         self._installSignalHandlers() 
     65 
     66        # Might need to revisit this? 
     67        if not sys.platform.startswith('win'): 
     68            self._installSignalHandlers() 
    6569 
    6670        # Set close-on-exec