← Commit list

052b25369

Denys Vlasenko
Denys Vlasenko
2026-01-25
SUCCESS Duration: 143s

Subject

httpd: add a TODO, no code changes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

networking/httpd.c+3 -0
@@ -319,6 +319,9 @@
* - sanity: add a limit how big POSTDATA can be? (-P 1024: "megabyte+ of POSTDATA is insanity")
* currently we only do: if (POST_length > INT_MAX) HTTP_BAD_REQUEST
* - sanity: measure CGI memory consumption (how?), kill when way too big?
+ * - set SO_LINGER {1,0} when aborting a download, this forces RST rather than FIN
+ * connection termination ("Connection reset by peer" read error on the other end).
+ * Thus, they can detect that the download is incomplete.
*/
#define HEADER_READ_TIMEOUT 30
#define DATA_WRITE_TIMEOUT 60