Optimization for case when no web forward is configured.

This commit is contained in:
Egor Ivanov 2013-04-23 20:31:21 +04:00 committed by Emil Mikulic
parent 5a0291f47e
commit 049e842399

View File

@ -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;