conf: turn XTinyproxy into a boolean option

This is what it actually is.

The string value was used in earlier versions to compare
against the uri->authority string. But not as a list of
sites to create an X-Tinyproxy header for, as the tinyproxy.conf
template states...

Michael
This commit is contained in:
Michael Adam committed 2009-09-27 12:32:31 +02:00
1 parent 0539be08b4
commit eecf145dbb
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1126,7 +1126,7 @@ process_client_headers (struct conn_s *connptr, hashmap_t hashofheaders)
}
}
#if defined(XTINYPROXY_ENABLE)
if (config.my_domain)
if (config.add_xtinyproxy)
add_xtinyproxy_header (connptr);
#endif