Skip Menu |

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

Report information
The Basics
Id: 122313
Status: resolved
Priority: 0/
Queue: Net-Prober

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

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



Subject: http://sitecheck2.opera.com/ping is now a redirect
The t/http.t test started to fail: ... # Failed test 'Page downloaded and MD5 verified' # at t/http.t line 30. # Looks like you failed 1 test of 6. t/http.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests ... Looking at the http communication I see: 17736 11:40:55.060486 read(3, "HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.10.3\r\nDate: Sun, 02 Jul 2017 09:40:55 GMT\r\nContent-Type: text/html\r\nContent-Length: 185\r\nConnection: close\r\nLocation: https://sitecheck2.opera.com/ping\r\n\r\n<html>\r\n<head> <title>301 Moved Permanently</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.10.3</center>\r\n</body>\r\n</html>\r\n", 1024) = 388 <0.000023> But Net::Prober::Probe::HTTP sets max_redirect(0), so the redirect is not followed.
Fixed in version 0.17, soon on CPAN.