> 1) Changing the proxyOffline option in the conf manually would be > pretty anoying. Is there a way to automate this process ?
If you run with disableConfiguration=false, you can do something like curl -d 'proxyOffline=false' http://localhost:8123/polipo/config? to switch the proxy off/online. (Note that this is broken in the current Darcs tree.) > the connection is good enough to be used and set 'proxyOffline=false' > or in case of huge packet loss or no connection at all, change to > 'proxyOffline=true' ? That doesn't belong in Polipo -- it should be done by a different piece of software that communicates with Polipo. If you want a piece of code that does the pinging and link quality estimation, please have a look at http://www.pps.jussieu.fr/~jch/software/files/babel-pinger-0.1.tar.gz http://www.pps.jussieu.fr/~jch/software/files/babel-pinger-0.1.tar.gz.asc It's designed to communicate with Babel, not with Polipo, so you'll need to change the functions ``install'' and ``uninstall'' to perform an HTTP POST as above. > 2) WWWOFFLE has a interesting feature: when a page that is not in the > cache is requested, it is scheduled to be fetched when the connection > is online again. Would that be possible with Polipo ? No. Again, this doesn't belong in Polipo, it should be done by a different piece of software that communicates with Polipo. Juliusz ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Polipo-users mailing list Polipo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/polipo-users