← Commit list

649da41ca

Denys Vlasenko
Denys Vlasenko
2026-01-22
SUCCESS Duration: 141s

Subject

httpd: fix compilation script of httpd_ratelimit_cgi.c

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+1 -1
@@ -2679,7 +2679,7 @@ static int throttle_if_conn_limit(void)
bb_error_msg("pausing, children:%u", c);
//bb_error_msg("pausing %ums, children:%u", usec/1000, c);
usleep(usec);
- usec = ((usec << 1) | 1) & 0x1fffff; /* x2, up to 2.097151 seconds */
+ usec = ((usec << 1) + 1) & 0x1fffff; /* x2, up to 2.097151 seconds */
continue; /* loop: count them again */
}
if (VERBOSE_3) /* -vvv periodically shows # of children */
networking/httpd_helpers.sh+3 -1
@@ -25,5 +25,7 @@ httpd_ssi.c -o httpd_ssi && strip httpd_ssi
${PREFIX}gcc \
${OPTS} \
--Wl,-Map -Wl,httpd_ssi.map \
+-Wl,-Map -Wl,httpd_ratelimit_cgi.map \
httpd_ratelimit_cgi.c -o httpd_ratelimit_cgi && strip httpd_ratelimit_cgi
+
+size index.cgi httpd_ssi httpd_ratelimit_cgi