iTorified surf is unstable - surf - Surf web browser. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/surf//log.gph gopher.r-36.net 70 1Files /scm/surf//files.gph gopher.r-36.net 70 1Refs /scm/surf//refs.gph gopher.r-36.net 70 1README /scm/surf//file/README.gph gopher.r-36.net 70 1LICENSE /scm/surf//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 957a6f0812bbc7140b89219de68458c715f35999 /scm/surf//commit/957a6f0812bbc7140b89219de68458c715f35999.gph gopher.r-36.net 70 1parent 9b6998e7ae06ef4df14f84a902c24c49c0968a1d /scm/surf//commit/9b6998e7ae06ef4df14f84a902c24c49c0968a1d.gph gopher.r-36.net 70 hAuthor: GhostAV URL:mailto:ghostav@riseup.net gopher.r-36.net 70 iDate: Tue, 18 Aug 2015 12:46:34 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iTorified surf is unstable Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iOn Tue, Aug 18, 2015 at 12:38:40PM +0200, Gabriel Pérez-Cerezo wrote: Err gopher.r-36.net 70 i> It really seems to be a problem with torsocks. I have already solved Err gopher.r-36.net 70 i> this problem with a patch GhostAV just sent me on this list that adds Err gopher.r-36.net 70 i> SOCKS support to surf. It works fine now. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iAs i failed to send the patch to the list, i resend it now: Err gopher.r-36.net 70 i-- >8 -- Err gopher.r-36.net 70 iFrom: Jonas Rabenstein Err gopher.r-36.net 70 iSubject: [PATCH] allow sock proxies Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iSigned-off-by: Christoph Lohmann <20h@r-36.net> Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i surf.c | 8 ++++++-- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 6 insertions(+), 2 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/surf.c b/surf.c /scm/surf//file/surf.c.gph gopher.r-36.net 70 i@@ -1270,8 +1270,12 @@ setup(void) { Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i /* proxy */ Err gopher.r-36.net 70 i if((proxy = getenv("http_proxy")) && strcmp(proxy, "")) { Err gopher.r-36.net 70 i- new_proxy = g_strrstr(proxy, "http://") ? g_strdup(proxy) : Err gopher.r-36.net 70 i- g_strdup_printf("http://%s", proxy); Err gopher.r-36.net 70 i+ new_proxy = g_strrstr(proxy, "http://") Err gopher.r-36.net 70 i+ || g_strrstr(proxy, "socks://") Err gopher.r-36.net 70 i+ || g_strrstr(proxy, "socks4://") Err gopher.r-36.net 70 i+ || g_strrstr(proxy, "socks5://") Err gopher.r-36.net 70 i+ ? g_strdup(proxy) Err gopher.r-36.net 70 i+ : g_strdup_printf("http://%s", proxy); Err gopher.r-36.net 70 i puri = soup_uri_new(new_proxy); Err gopher.r-36.net 70 i g_object_set(G_OBJECT(s), "proxy-uri", puri, NULL); Err gopher.r-36.net 70 i soup_uri_free(puri); Err gopher.r-36.net 70 .