Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7544

Add support for standard proxy settings in Extension Manager

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now setting http.proxyHost, http.proxyPort, etc. does not have any effect.

      Looks like the following is the standard way of taking into account standard properties:

      DefaultHttpClient httpclient = new DefaultHttpClient();
      
      ProxySelectorRoutePlanner routePlanner = new ProxySelectorRoutePlanner(
           httpclient.getConnectionManager().getSchemeRegistry(),
           ProxySelector.getDefault());
      
      httpclient.setRoutePlanner(routePlanner); 
      

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: