Commit cc78e66
committed
Fix: Send Content-Length header to client from top Exception handler
The top exception handler in run_cgi wasn't sending the Content-Length
header for the error message. This resulted in a hung client.
Probably wasn't an issue with http 1.0, but when using 1.1 it's
required.1 parent bd80f14 commit cc78e66
2 files changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | 275 | | |
278 | 276 | | |
279 | | - | |
280 | 277 | | |
281 | 278 | | |
282 | 279 | | |
283 | | - | |
284 | | - | |
| 280 | + | |
285 | 281 | | |
286 | 282 | | |
287 | 283 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 284 | + | |
| 285 | + | |
291 | 286 | | |
292 | 287 | | |
293 | | - | |
294 | 288 | | |
295 | | - | |
296 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
297 | 294 | | |
298 | 295 | | |
299 | 296 | | |
300 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
0 commit comments