Changeset 62:a97376b12ef0
- Timestamp:
- 05/11/07 09:52:04
(1 year ago)
- Author:
- Allan Saddi <allan@saddi.com>
- branch:
- default
- convert_revision:
- svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@2348
- Message:
Catch and ignore EPIPE when flushing the streams and ending the request.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r54 |
r62 |
|
| 568 | 568 | (protocolStatus, appStatus)) |
|---|
| 569 | 569 | |
|---|
| 570 | | self._flush() |
|---|
| 571 | | self._end(appStatus, protocolStatus) |
|---|
| | 570 | try: |
|---|
| | 571 | self._flush() |
|---|
| | 572 | self._end(appStatus, protocolStatus) |
|---|
| | 573 | except socket.error, e: |
|---|
| | 574 | if e[0] != errno.EPIPE: |
|---|
| | 575 | raise |
|---|
| 572 | 576 | |
|---|
| 573 | 577 | def _end(self, appStatus=0L, protocolStatus=FCGI_REQUEST_COMPLETE): |
|---|