Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3740

Use Neon's system_proxy autodetection if no proxy has been explicitly specified.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: ---
    • Fix Version/s: 1.7.x
    • Component/s: libsvn_ra_neon
    • Labels:

      Description

      Patch Submitted By : Dominique Leuenberger <dominique@leuenberger.net>
      
      
      As a notebook user I'm of course using it on different
      locations/networks and one thing rather annoying is that subversion only
      cares for it's own configuration file when it comes to proxy
      connections.
      
      Since version 0.29.0 of libneon, it features a ne_session_system_proxy
      API, which allows to transparently have the proxy settings filled, based
      on what you have configured in your gnome/kde session (it uses libproxy
      in the background for this). Should you happen to run subversion on any
      different kind of session, is is falling back to using envvar.
      
      I've been working with subversion the last few days with this
      modification and it served me a lot, as I do only have to change my
      gnome session's proxy settings now. svn is inheriting them, avoiding the
      need to configure this file in plus (one location to rule them all!).
      
      I'd be really glad if you would consider merging this patch (I wrote it
      initially for 1.6.12, then later ported to svn trunk, which is slightly
      different... I only tested the 1.6.12 version of the patch!).
      
      Both patches are attached here for reference.
      

      http://svn.haxx.se/dev/archive-2010-09/0620.shtml

      Original issue reported by gavinbaumanis

        Attachments

        1. 1_subversion-neon-systemproxy.patch
          1 kB
          Subversion Importer
        2. 2_subversion-1.6.12-neon-systemproxy.patch
          2 kB
          Subversion Importer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: