Commit 8ed590f
Replace inline Python http.server with mini-httpd
The evidence file server was using an inline Python ThreadingTCPServer,
which is hacky and not battle-tested for production use. Replace it with
mini-httpd (1.30), a proven static file server by Jef Poskanzer (author
of thttpd). At 123 KB installed, it is the smallest proper HTTP server
in Debian bookworm that handles concurrent connections (fork-per-request).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c1a57c3 commit 8ed590f
3 files changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 409 | + | |
| 410 | + | |
417 | 411 | | |
418 | 412 | | |
419 | 413 | | |
| |||
0 commit comments