Changeset 22:3bbdc1112d26
- 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
| r19 |
r22 |
|
| | 1 | 2005-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 | |
|---|
| 1 | 9 | 2005-07-03 Allan Saddi <asaddi@europa.saddi.net> |
|---|
| 2 | 10 | |
|---|
| r18 |
r22 |
|
| 46 | 46 | import dummy_threading as threading |
|---|
| 47 | 47 | thread_available = False |
|---|
| | 48 | |
|---|
| | 49 | # Apparently 2.3 doesn't define SHUT_WR? Assume it is 1 in this case. |
|---|
| | 50 | if not hasattr(socket, 'SHUT_WR'): |
|---|
| | 51 | socket.SHUT_WR = 1 |
|---|
| 48 | 52 | |
|---|
| 49 | 53 | __all__ = ['BaseFCGIServer'] |
|---|