Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 82662
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: Nobody in particular
Requestors: SNIPER [...] cpan.org
Cc:
AdminCc:

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



Subject: Important delay when querying twitter
Hello, there is an important delay, 15sec per request, when calling $nt->get_authorization_url. I have this problem with my own scripts and also with scripts in examples dir in the distribution. ie: http://cpansearch.perl.org/src/MMIMS/Net-Twitter-3.18004/examples/oauth_desktop.pl I have not this delay with ttytter, perl client which use curl for communications with Twitter. Is this a known problem ?
On Sat Jan 12 11:18:02 2013, sniper wrote: Show quoted text
> > there is an important delay, 15sec per request, when calling $nt-
> >get_authorization_url.
> > > Is this a known problem ?
This is due to a bug in Net::HTTP. See https://rt.cpan.org/Ticket/Display.html?id=81237. -Marc
Le Sam 12 Jan 2013 11:26:26, MMIMS a écrit : Show quoted text
> On Sat Jan 12 11:18:02 2013, sniper wrote:
> > > > there is an important delay, 15sec per request, when calling $nt-
> > >get_authorization_url.
> > Is this a known problem ?
> > This is due to a bug in Net::HTTP. See > https://rt.cpan.org/Ticket/Display.html?id=81237.
Great ! Thanks You for your speed response. I'm trying this patch https://github.com/gisle/net-http/pull/2/files