mirror of https://unix4lyfe.org/git/darkhttpd
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 */
|
||||
{
|
||||
if (forward_map) {
|
||||
char *host = parse_field(conn, "Host: ");
|
||||
if (host) {
|
||||
size_t i;
|
||||
|
|
Loading…
Reference in New Issue