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:

committed by
Max Kellermann

parent
4b81cf0c2c
commit
f9ca2f52c1
@@ -83,6 +83,11 @@ class HttpdClient final
|
||||
*/
|
||||
bool head_method = false;
|
||||
|
||||
/**
|
||||
* Should we reject this request?
|
||||
*/
|
||||
bool should_reject = false;
|
||||
|
||||
/* ICY */
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user