Mercurial > p > roundup > code
comparison CHANGES.txt @ 8269:341841a9edc5
Handle timeout exception in roundup-server better.
A timeout in roundup-server used to generate another exception:
OSError: cannot read from timed out object
when it tried to reuse the socket that timed out.
Now return status 408, a brief message and trigger closing of the
socket.
Manual testing, no CI.
To test used curl -X POST with no --data defined.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 12 Jan 2025 12:59:41 -0500 |
| parents | 05d8806b25ad |
| children | 669dfccca898 |
comparison
equal
deleted
inserted
replaced
| 8268:05d8806b25ad | 8269:341841a9edc5 |
|---|---|
| 69 well as status 400. (John Rouillard) | 69 well as status 400. (John Rouillard) |
| 70 - issue2551387 - TypeError: not indexable. Fix crash due to | 70 - issue2551387 - TypeError: not indexable. Fix crash due to |
| 71 uninitialized list element on a (Mini)FieldStorage when unexpected | 71 uninitialized list element on a (Mini)FieldStorage when unexpected |
| 72 input is posted via wsgi. (Reported and debugged by Christof | 72 input is posted via wsgi. (Reported and debugged by Christof |
| 73 Meerwald; fix John Rouillard) | 73 Meerwald; fix John Rouillard) |
| 74 - close http socket and send a 408 status when a timeout exception | |
| 75 is handed in roundup-server. This prevents another exception | |
| 76 caused by using a timed out socket. (John Rouillard) | |
| 74 | 77 |
| 75 Features: | 78 Features: |
| 76 | 79 |
| 77 - issue2551287 - Enhance roundup_gettext.py to extract strings from | 80 - issue2551287 - Enhance roundup_gettext.py to extract strings from |
| 78 detectors/extensions. If the polib module is available, | 81 detectors/extensions. If the polib module is available, |
