SourceForge.net
2010-08-31 21:33:27 UTC
Bugs item #3057017, was opened at 2010-08-31 21:33
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3057017&group_id=39046
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_uk_rt
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nick Morrott (knowledgejunkie)
Summary: Regression: 0.57 no longer uses proxy server
Initial Comment:
After upting xmltv from the version provided by Debian (0.5.52) I found that it no longer uses a proxy server, instead requiring a direct connection to the internet.
I've tracked the cuase down to the move from LWP::Simple to LWP::UserAgent ( revision 1.241). According to the perldoc for LWP::Simple:
"The user agent created by this module will identify itself as
"LWP::Simple/#.##" (where "#.##" is the libwww-perl version number) and
will initialize its proxy defaults from the environment (by calling
$ua->env_proxy)."
If you use LWP::UserAgent, then env_proxy() has to be called manually.
The attached patch adds this call.
Regards,
Jason
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3057017&group_id=39046
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3057017&group_id=39046
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_uk_rt
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nick Morrott (knowledgejunkie)
Summary: Regression: 0.57 no longer uses proxy server
Initial Comment:
After upting xmltv from the version provided by Debian (0.5.52) I found that it no longer uses a proxy server, instead requiring a direct connection to the internet.
I've tracked the cuase down to the move from LWP::Simple to LWP::UserAgent ( revision 1.241). According to the perldoc for LWP::Simple:
"The user agent created by this module will identify itself as
"LWP::Simple/#.##" (where "#.##" is the libwww-perl version number) and
will initialize its proxy defaults from the environment (by calling
$ua->env_proxy)."
If you use LWP::UserAgent, then env_proxy() has to be called manually.
The attached patch adds this call.
Regards,
Jason
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3057017&group_id=39046