* Update pt_get_proxy_uri() documentation.
* proxy_supported is now unsigned.
* Added a changes file.
--- /dev/null
+ o Major features (bridges):
+ - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
+ transports if they are configured via the "TOR_PT_PROXY"
+ enviorment variable. Implements proposal 232. Resolves
+ ticket 8402.
tor_free(mp);
}
-/** Convert the tor proxy options to a URI suitable for TOR_PT_PROXY. */
+/** Convert the tor proxy options to a URI suitable for TOR_PT_PROXY.
+ * Return a newly allocated string containing the URI, or NULL if no
+ * proxy is set. */
STATIC char *
get_pt_proxy_uri(void)
{
int conf_protocol; /* the configuration protocol version used */
char *proxy_uri; /* the outgoing proxy in TOR_PT_PROXY URI format */
- int proxy_supported : 1; /* the proxy claims to honor TOR_PT_PROXY */
+ unsigned int proxy_supported : 1; /* the proxy honors TOR_PT_PROXY */
int is_server; /* is it a server proxy? */