G'day,

I'm running polipo with a socksParentProxy, but sometimes I want to turn
it off. Unfortunately, polipo exits if I enter an empty socksParentProxy
in the web configuration interface.

Attached patch checks for this (I merely copied the conditions from
server.c).

-- 
--  Rogutės Sparnuotos
diff -rN old-polipo-build/socks.c new-polipo-build/socks.c
123a124,131
>     if(socksParentProxy != NULL && socksParentProxy->length == 0) {
>         releaseAtom(socksParentProxy);
>         socksParentProxy = NULL;
>     }
>     
>     if(socksParentProxy == NULL)
>         return;
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to