Skip Menu |

This queue is for tickets about the Net-SMS-BulkSMS CPAN distribution.

Report information
The Basics
Id: 18885
Status: resolved
Priority: 0/
Queue: Net-SMS-BulkSMS

People
Owner: Nobody in particular
Requestors: neil.hemingway [...] barclays.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net-SMS-BulkSMS doesn't seem to be proxy aware
I live behind a proxy. Unfortunately (unless I've missed something), Net-SMS-BulkSMS doesn't seem to be proxy aware. The following patch fixes the issue. (This is the first time I've done this so if it doesn't work for you, it may well be that I've generated it wrong. I would appreciate any help in getting it right)... --- Net-SMS-BulkSMS-1.00\BulkSMS.pm Fri Apr 15 09:07:08 2005 +++ c:\progfile\perl-5.8.7\site\lib\Net\SMS\BulkSMS.pm Sun Apr 23 11:51:31 2006 @@ -136,7 +136,8 @@ my $req = POST $url, [ %arg ]; my $ua = LWP::UserAgent->new; - my $res = $ua->request($req); + $ua->env_proxy(); + my $res = $ua->request($req); if ( $res->is_success ) # web request worked {
From: Peter Edwards <peterdragon [...] users.sourceforge.net>
Patch applied, tested and released to CPAN as Net::SMS::BulkSMS version 1.01. Thanks for the patch, Neil. -Peter On Sun Apr 23 06:59:49 2006, guest wrote: Show quoted text
> I live behind a proxy. Unfortunately (unless I've missed something), > Net-SMS-BulkSMS doesn't seem to be proxy aware. The following patch > fixes the issue. (This is the first time I've done this so if it > doesn't work for you, it may well be that I've generated it wrong. I > would appreciate any help in getting it right)... > > --- Net-SMS-BulkSMS-1.00\BulkSMS.pm Fri Apr 15 09:07:08 2005 > +++ c:\progfile\perl-5.8.7\site\lib\Net\SMS\BulkSMS.pm Sun Apr 23 > 11:51:31 2006 > @@ -136,7 +136,8 @@ > my $req = POST $url, [ %arg ]; > > my $ua = LWP::UserAgent->new; > - my $res = $ua->request($req); > + $ua->env_proxy(); > + my $res = $ua->request($req); > > if ( $res->is_success ) # web request worked > {