summaryrefslogtreecommitdiff
path: root/shell/match.h
diff options
context:
space:
mode:
authorDenys Vlasenko2021-05-05 15:00:09 +0200
committerDenys Vlasenko2021-05-05 15:00:09 +0200
commitad16f89547a5e335f3c45506eb5b43bcc1bf505e (patch)
treeb1ac083e94dc29c1ce55988d6b2e35b994bd391b /shell/match.h
parent91a58b207ea04e6078f44cecae6c3356e059da8a (diff)
downloadbusybox-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 'shell/match.h')
0 files changed, 0 insertions, 0 deletions