Denys Vlasenko
ad16f89547
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>
2021-05-05 15:00:09 +02:00
..
2021-02-03 20:52:40 +01:00
2014-02-23 23:31:13 +01:00
2016-12-22 15:13:37 +01:00
2021-05-01 13:48:50 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2021-03-23 13:50:02 +01:00
2018-12-10 16:14:58 +01:00
2021-02-22 15:36:07 +01:00
2020-08-13 17:12:56 +02:00
2018-04-07 14:18:42 +02:00
2020-12-18 22:51:46 +01:00
2020-12-13 19:18:28 +01:00
2016-12-22 15:13:37 +01:00
2020-07-31 18:14:54 +02:00
2016-12-22 15:33:11 +01:00
2013-01-14 01:34:48 +01:00
2021-05-05 15:00:09 +02:00
2020-12-13 19:04:19 +01:00
2020-08-13 17:12:56 +02:00
2020-11-30 13:03:03 +01:00
2020-12-18 04:12:51 +01:00
2021-04-24 12:06:03 +02:00
2020-11-30 13:03:03 +01:00
2020-11-30 13:03:03 +01:00
2020-12-13 22:34:05 +01:00
2018-12-28 03:20:17 +01:00
2019-07-02 11:35:03 +02:00
2014-01-09 20:09:43 +01:00
2016-11-23 09:05:14 +01:00
2020-08-13 17:12:56 +02:00
2020-11-29 11:37:34 +01:00
2020-11-29 11:37:34 +01:00
2019-07-02 11:35:03 +02:00
2020-11-30 14:58:02 +01:00
2020-12-31 01:39:44 +01:00
2021-04-24 11:54:50 +02:00
2016-03-04 07:36:04 +01:00
2020-07-19 20:59:35 +02:00
2021-01-04 13:28:28 +01:00
2020-12-18 23:33:19 +01:00
2020-12-19 00:07:13 +01:00
2020-11-29 11:37:34 +01:00
2018-12-28 03:20:17 +01:00
2019-10-25 13:41:31 +02:00
2018-02-27 13:03:44 +01:00
2018-02-27 13:03:44 +01:00
2019-07-02 11:35:03 +02:00
2020-12-29 16:53:11 +01:00
2019-07-02 11:35:03 +02:00
2016-04-22 18:09:21 +02:00
2016-10-12 19:13:46 +02:00
2020-12-19 00:33:06 +01:00
2020-12-15 18:47:25 +01:00
2018-11-23 18:02:44 +01:00
2019-10-25 13:05:15 +02:00
2018-11-24 13:51:46 +01:00
2021-04-28 12:19:24 +02:00
2021-04-20 19:03:55 +02:00
2019-05-17 22:56:47 +02:00
2019-05-17 22:56:47 +02:00
2021-04-27 00:40:40 +02:00
2019-01-01 15:40:43 +01:00
2021-04-27 00:40:40 +02:00
2018-11-25 16:17:26 +01:00
2021-04-27 18:48:43 +02:00
2017-01-23 01:15:13 +01:00
2021-04-26 13:46:36 +02:00
2021-04-26 14:33:38 +02:00
2021-02-02 13:48:21 +01:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2021-04-30 01:42:24 +02:00
2019-12-03 14:52:17 +01:00
2020-08-13 17:12:56 +02:00