diff stream/url.h @ 35113:06847bdbe4bc

Fix redirection for proxy URLs. Should fix bug #2091.
author reimar
date Fri, 21 Sep 2012 18:57:00 +0000
parents 34fb7af52b82
children
line wrap: on
line diff
--- a/stream/url.h	Fri Sep 21 07:55:55 2012 +0000
+++ b/stream/url.h	Fri Sep 21 18:57:00 2012 +0000
@@ -36,6 +36,8 @@
 	char *password;
 } URL_t;
 
+int url_is_protocol(const URL_t *url, const char *proto);
+void url_set_protocol(URL_t *url, const char *proto);
 URL_t *url_redirect(URL_t **url, const char *redir);
 
 char *get_http_proxy_url(const URL_t *proxy, const char *host_url);