Skip Menu |

This queue is for tickets about the AnyEvent-Impl-Prima CPAN distribution.

Report information
The Basics
Id: 122230
Status: resolved
Priority: 0/
Queue: AnyEvent-Impl-Prima

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

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



Subject: 02-prima-http.t hangs on Windows
Shows an empty window. If I close it or change focus to command line window, test passes. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #122230] 02-prima-http.t hangs on Windows
Date: Thu, 29 Jun 2017 15:45:18 +0200
To: bug-AnyEvent-Impl-Prima [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello Alexandr, Show quoted text
> Shows an empty window. If I close it or change focus to command line window, test passes.
Ouch! This is most likely due to the script making an outside HTTP request to Google instead of an internal HTTP request. I have changed this in a future version to use Test::HTTP::LocalServer, but could you check that test with some HTTP URL that is reachable from your internal network without a proxy etc? If that works for you, I will release the change at [0] as a new version. -max [0] https://github.com/Corion/AnyEvent-Impl-Prima/commit/9f77ae63a7d9c329bc2151ca0431e929b795cdfa
On Thu Jun 29 10:01:42 2017, corion@corion.net wrote: Show quoted text
> Hello Alexandr, >
> > Shows an empty window. If I close it or change focus to command line > > window, test passes.
> Ouch! This is most likely due to the script making an outside HTTP > request to Google instead of an internal HTTP request. > > I have changed this in a future version to use > Test::HTTP::LocalServer, > but could you check that test with some HTTP URL that is reachable > from > your internal network without a proxy etc?
I have a NAT, so any URL is accessible without setting proxy. Changing URL in 02-prima-http.t still results in hanging. Show quoted text
> If that works for you, I will release the change at [0] as a new > version.
But the change still works, now tests pass. -- Alexandr Ciornii, http://chorny.net
0.02 is on its way to CPAN and contains (just) that fix