Changeset 22:3bbdc1112d26

Show
Ignore:
Timestamp:
09/07/05 18:31:01 (3 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@1821
Message:

Python 2.3 doesn't define socket.SHUT_WR, which affected
the closing of the FastCGI socket with the server.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r19 r22  
     12005-09-07  Allan Saddi  <asaddi@europa.saddi.net> 
     2 
     3        * Python 2.3 doesn't define socket.SHUT_WR, which affected 
     4          the closing of the FastCGI socket with the server. This would 
     5          cause output to hang. Thanks to Eugene Lazutkin for bringing 
     6          the problem to my attention and going out of his way to help 
     7          me debug it! 
     8 
    192005-07-03  Allan Saddi  <asaddi@europa.saddi.net> 
    210 
  • flup/server/fcgi_base.py

    r18 r22  
    4646    import dummy_threading as threading 
    4747    thread_available = False 
     48 
     49# Apparently 2.3 doesn't define SHUT_WR? Assume it is 1 in this case. 
     50if not hasattr(socket, 'SHUT_WR'): 
     51    socket.SHUT_WR = 1 
    4852 
    4953__all__ = ['BaseFCGIServer']