Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > [PATCH] MacOSX system proxy fallback

subversion
Discussion topic

Back to topic list

[PATCH] MacOSX system proxy fallback

Author Martin Hauner <martin dot hauner at gmx dot net>
Full name Martin Hauner <martin dot hauner at gmx dot net>
Date 2008-02-23 07:31:17 PST
Message Hi,

here is a patch that improves MacOSX usability by adding support for web
proxy settings configured in the MacOSX network location settings.

The patch makes it unnecessary to edit svn's proxy settings when moving
between a location with proxy (e.g. at work) and a location without
proxy (e.g. home).

It works by checking the system proxy settings if svn didn't find
a proxy in its 'server' configuration file. It is enabled by default.

It can be disabled by setting "http-system-proxy" to "no" in the global
server settings file. So far it works only for proxies without username
and password. On non MacOSX systems it does nothing.

[[[
Fallback to system web proxy settings if no proxy is found based on the
'servers' configuration file. Set 'http-system-proxy' to 'no' in the
'global' section of the 'servers' configuration file to disable system
proxy fallback.

This is currently implemented for MacOSX only. On the other systems it
does nothing.


* configure.ac
  add system configuration framework to link libraries on MacOSX.

* subversion/include/svn_config.h
  (SVN_CONFIG_OPTION_H​TTP_SYSTEM_PROXY): new configration key.

* subversion/libsvn_su​br/config_file.c
  (svn_config_ensure): added 'http-system-proxy' description.

* subversion/libsvn_ra​_neon/session.c
  (get_system_proxy): new function, get the system web proxy settings.
  (get_server_settings): added system proxy setting fallback.
]]]
Attachments

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

[PATCH] MacOSX system proxy fallback Martin Hauner <martin dot hauner at gmx dot net> Martin Hauner <martin dot hauner at gmx dot net> 2008-02-23 07:31:17 PST
     Re: [PATCH] MacOSX system proxy fallback Martin Hauner <martin dot hauner at gmx dot net> Martin Hauner <martin dot hauner at gmx dot net> 2008-05-02 09:44:20 PDT
         Re: [PATCH] MacOSX system proxy fallback Daniel Shahaf <d dot s at daniel dot shahaf dot co dot il> Daniel Shahaf <d dot s at daniel dot shahaf dot co dot il> 2008-05-02 10:50:05 PDT
Messages per page: