diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2026-01-22 15:49:58 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2026-01-22 15:49:58 +0100 |
| commit | c1ed0c4049ad40750218393b9d102c35a75cd6d4 (patch) | |
| tree | f0ef9030d279fa578d7223bd752d9ad2ec8755a5 /scripts/echo.c | |
| parent | 52a88341d6782569ec4f29d5ffde1a246c296c2b (diff) | |
| download | busybox-w32-c1ed0c4049ad40750218393b9d102c35a75cd6d4.tar.gz busybox-w32-c1ed0c4049ad40750218393b9d102c35a75cd6d4.tar.bz2 busybox-w32-c1ed0c4049ad40750218393b9d102c35a75cd6d4.zip | |
httpd: optimize header reading timeout code
Set up the signal handler once, outside of main loop.
Do not reset the timer if headers are big - they still are expected
to arrive quickly.
function old new delta
httpd_main 913 939 +26
handle_incoming_and_exit 2312 2306 -6
get_line 134 126 -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 26/-14) Total: 12 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/echo.c')
0 files changed, 0 insertions, 0 deletions
