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:
1 parent
0539be08b4
commit
eecf145dbb
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user