Item8824: Enable LWP's proxy support for contributing from behind a firewall

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: BuildContrib
Branches:
Reported By: BryanThale
Waiting For:
Last Change By: CrawfordCurrie
Allow LWP to pull proxy settings (if any) from the environment so those of us behind firewalls can upload releases too.

Index: Build.pm
===================================================================
--- Build.pm	(revision 7048)
+++ Build.pm	(working copy)
@@ -1679,7 +1679,7 @@
 
     sub new {
         my ( $class, $id, $bldr ) = @_;
-        my $this = $class->SUPER::new( keep_alive => 1 );
+        my $this = $class->SUPER::new( keep_alive => 1, env_proxy => 1 );
         $this->{domain}  = $id;
         $this->{builder} = $bldr;
         require HTTP::Cookies;

-- BryanThale - 02 Apr 2010

I put in the code change, but it requires testing by someone in a proxy environment. Bryan?

-- CrawfordCurrie - 28 Aug 2010

That's the exact code I've been using to submit plug-in updates so it works in my environment. I updated the Checkins property below to point to changeset 8810 since the commit was made against Foswikitask:Item721 instead of this item.

-- BryanThale - 30 Aug 2010
 

ItemTemplate edit

Summary Enable LWP's proxy support for contributing from behind a firewall
ReportedBy BryanThale
Codebase 1.0.9
SVN Range 7048
AppliesTo Extension
Component BuildContrib
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:1cb5f94f63e8
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r4 - 08 Sep 2010, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy