sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1145B)


      1 proxyconfig
      2 ===========
      3 
      4 Description
      5 -----------
      6 
      7 This patch allows you to specify proxy settings in your config.h file.
      8 
      9 It contains an enum which wraps the three proxy modes supported by Webkit:
     10 
     11 * CustomProxy allows you to specify a custom proxy URL and list of hosts to ignore.
     12 * SystemProxy uses your system proxy settings (which on *nix is your http_proxy environment variable).
     13 * NoProxy ensures that a proxy is never used.
     14 
     15 To use this patch, first set your ProxyMode Parameter to the desired value.
     16 If you're using CustomProxy, you then need to set your ProxyUrl Parameter to the URL of your proxy, for example, "http://localhost:8080", or "socks://localhost:9050".
     17 You may also optionally set your ProxyIgnoreHosts to specify a list of URLs which will not have their connections proxied. Please note that the SystemProxy mode will not respect your ProxyIgnoreHosts list -- my testing indicates that Webkit doesn't support this.
     18 
     19 The default value is SystemProxy, which preserves the default behavior of vanilla surf out of the box.
     20 
     21 Download
     22 --------
     23 
     24 * [surf-proxyconfig-20210503-7dcce9e.diff](surf-proxyconfig-20210503-7dcce9e.diff)