output/httpd: reject some well-known request paths

Return `404 not found` for some common well-known paths, as clients requesting them usually do that automatically and don't expect endless audio stram.

Closes #572
This commit is contained in:
cathugger
2019-06-05 00:49:15 +03:00
committed by Max Kellermann
parent 4b81cf0c2c
commit f9ca2f52c1
3 changed files with 27 additions and 2 deletions

View File

@@ -83,6 +83,11 @@ class HttpdClient final
*/
bool head_method = false;
/**
* Should we reject this request?
*/
bool should_reject = false;
/* ICY */
/**