mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Optimization for case when no web forward is configured.
This commit is contained in:
parent
5a0291f47e
commit
049e842399
@ -1759,7 +1759,7 @@ static void process_get(struct connection *conn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* test the host against web forward options */
|
/* test the host against web forward options */
|
||||||
{
|
if (forward_map) {
|
||||||
char *host = parse_field(conn, "Host: ");
|
char *host = parse_field(conn, "Host: ");
|
||||||
if (host) {
|
if (host) {
|
||||||
size_t i;
|
size_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user