Skip Menu |

This queue is for tickets about the WWW-DomainTools CPAN distribution.

Report information
The Basics
Id: 36107
Status: resolved
Worked: 45 min
Priority: 0/
Queue: WWW-DomainTools

People
Owner: Nobody in particular
Requestors: Tim.W [...] gordian.co.uk
Cc:
AdminCc:

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



Subject: Doesn't work with proxy server
Date: Thu, 22 May 2008 19:42:17 +0100
To: bug-WWW-DomainTools [...] rt.cpan.org
From: Tim Wright <Tim.W [...] gordian.co.uk>
The module doesn't work if you have to go through a proxy server. hacked it by adding $self->{_ua}->proxy(['http', 'ftp'], 'http://my.proxy.server:my.proxy.port/'); in the request subroutine - though probably will change this to use env_proxy function of LWP::UserAgent instead so don't end up hard coding proxy server in code. other than that, it's working fine for me. thanks tim *********************************************************** For further information on Gordian Knot Limited ("Gordian"), Sigma Finance Corporation ("Sigma") and/or Theta Corporation ("Theta") please visit our website at http://www.gordian.co.uk or call +44 20 7290 9901. The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use any part of it or any attachment in any way or in any form whatsoever. If you have received this message in error, please notify the sender immediately by telephone or return e-mail and delete it and any attachment(s) from your system. Gordian is a company registered in England with company number 2853833 at the following address Lansdowne House, Berkeley Square, London, W1J 6AB, England. In accordance with the FSA's Rules Sigma and Theta are Gordian's clients. Gordian does not have a client relationship with any other person and does not owe regulatory duties to any other person under the Conduct of Business Rules or other parts of the FSA's Rules. Gordian is not responsible to you for providing the same protections as those afforded to Sigma and Theta, or for providing advice in relation to investing in Sigma and/or Theta.
Subject: Re: [rt.cpan.org #36107] Doesn't work with proxy server
Date: Thu, 22 May 2008 13:13:43 -0700
To: bug-WWW-DomainTools [...] rt.cpan.org
From: David Bartle <captindave [...] gmail.com>
Thanks for the report. I've uploaded a new version of the module (0.11) which allows you to pass in an instance of LWP::UserAgent as a parameter (lwp_ua). That way, you can set up LWP::UserAgent however you wish before using it. - Dave On May 22, 2008, at 11:43 AM, Tim Wright via RT wrote: Show quoted text
> > Thu May 22 14:43:13 2008: Request 36107 was acted upon. > Transaction: Ticket created by Tim.W@gordian.co.uk > Queue: WWW-DomainTools > Subject: Doesn't work with proxy server > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: Tim.W@gordian.co.uk > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36107 > > > > The module doesn't work if you have to go through a proxy server. > > hacked it by adding > $self->{_ua}->proxy(['http', 'ftp'], > 'http://my.proxy.server:my.proxy.port/'); > in the request subroutine - though probably will change this to use > env_proxy function of LWP::UserAgent instead so don't end up hard > coding > proxy server > in code. > > other than that, it's working fine for me. > > thanks > > tim > > > > > *********************************************************** > For further information on Gordian Knot Limited ("Gordian"), Sigma > Finance Corporation ("Sigma") and/or Theta Corporation ("Theta") > please visit our website at http://www.gordian.co.uk or call +44 20 > 7290 9901. > > The contents of this email and any attachments are confidential and > may also be privileged. If you are not the intended recipient of > this e-mail you may not copy, forward, disclose or otherwise use any > part of it or any attachment in any way or in any form whatsoever. > If you have received this message in error, please notify the sender > immediately by telephone or return e-mail and delete it and any > attachment(s) from your system. > > Gordian is a company registered in England with company number > 2853833 at the following address Lansdowne House, Berkeley Square, > London, W1J 6AB, England. > > In accordance with the FSA's Rules Sigma and Theta are Gordian's > clients. Gordian does not have a client relationship with any other > person and does not owe regulatory duties to any other person under > the Conduct of Business Rules or other parts of the FSA's Rules. > Gordian is not responsible to you for providing the same protections > as those afforded to Sigma and Theta, or for providing advice in > relation to investing in Sigma and/or Theta. > > > > The module doesn't work if you have to go through a proxy server. > > hacked it by adding > $self->{_ua}->proxy(['http', 'ftp'], 'http:// > my.proxy.server:my.proxy.port/'); > in the request subroutine - though probably will change this to use > env_proxy function of LWP::UserAgent instead so don't end up hard > coding proxy server > in code. > > other than that, it's working fine for me. > > thanks > > tim > > > > > *********************************************************** > For further information on Gordian Knot Limited ("Gordian"), Sigma > Finance Corporation ("Sigma") and/or Theta Corporation ("Theta") > please visit our website at http://www.gordian.co.uk or call +44 20 > 7290 9901. > > The contents of this email and any attachments are confidential and > may also be privileged. If you are not the intended recipient of > this e-mail you may not copy, forward, disclose or otherwise use any > part of it or any attachment in any way or in any form whatsoever. > If you have received this message in error, please notify the sender > immediately by telephone or return e-mail and delete it and any > attachment(s) from your system. > > Gordian is a company registered in England with company number > 2853833 at the following address Lansdowne House, Berkeley Square, > London, W1J 6AB, England. > > In accordance with the FSA's Rules Sigma and Theta are Gordian's > clients. Gordian does not have a client relationship with any other > person and does not owe regulatory duties to any other person under > the Conduct of Business Rules or other parts of the FSA's Rules. > Gordian is not responsible to you for providing the same protections > as those afforded to Sigma and Theta, or for providing advice in > relation to investing in Sigma and/or Theta.
As mentioned in my previous comment, this should be corrected by allowing users to specify their own LWP::UserAgent instance. I just uploaded the new version via PAUSE (0.11) so keep an eye out for it.