Discussion:
[Xmltv-devel] [ xmltv-Bugs-3057017 ] Regression: 0.57 no longer uses proxy server
SourceForge.net
2010-08-31 21:33:27 UTC
Permalink
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
SourceForge.net
2010-09-01 05:53:57 UTC
Permalink
Bugs item #3057017, was opened at 2010-08-31 22:33
Message generated for change (Comment added) made by knowledgejunkie
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: Closed
Resolution: Fixed
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

----------------------------------------------------------------------
Comment By: Nick Morrott (knowledgejunkie)
Date: 2010-09-01 06:53

Message:
Restore proxy server support using patch from Jason. Applied to r1.315 of
tv_grab_uk_rt.in.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3057017&group_id=39046
Continue reading on narkive:
Search results for '[Xmltv-devel] [ xmltv-Bugs-3057017 ] Regression: 0.57 no longer uses proxy server' (Questions and Answers)
23
replies
I like to write. How often should I write a week?
started 2006-10-20 14:08:51 UTC
books & authors
Loading...