diff options
author | Denys Vlasenko | 2021-05-05 15:00:09 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-05-05 15:00:09 +0200 |
commit | ad16f89547a5e335f3c45506eb5b43bcc1bf505e (patch) | |
tree | b1ac083e94dc29c1ce55988d6b2e35b994bd391b /testsuite/uniq.tests | |
parent | 91a58b207ea04e6078f44cecae6c3356e059da8a (diff) | |
download | busybox-ad16f89547a5e335f3c45506eb5b43bcc1bf505e.zip busybox-ad16f89547a5e335f3c45506eb5b43bcc1bf505e.tar.gz |
httpd: if no request was given at all, close the socket without generating error page
For one, an attacker can try to overload us by just opening and immediately
closing tons of connections - reduce our work to the minimum for this case.
function old new delta
handle_incoming_and_exit 2172 2200 +28
.rodata 103225 103246 +21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 49/0) Total: 49 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/uniq.tests')
0 files changed, 0 insertions, 0 deletions