Ctests: fix "read failed" errors for the URL tests

This patch changes the user agent and results in the openoffice.org
tests correctly passing. Before, they would give the following error:

  Failed, caught error: Status read failed: Connection reset by peer

All the other tests work as before.
Kornel and I are not sure why this change works.
This commit is contained in:
Scott Kostyshak 2014-01-23 11:14:31 -05:00
parent 01969e59fb
commit 2ddf66a71d

View File

@ -55,7 +55,7 @@ sub check_http_url($$$$)
}
}
#print " Trying to use GET => \"$getp\"";
$s->write_request(GET => $getp, 'User-Agent' => "Mozilla/5.0");
$s->write_request(GET => $getp, 'User-Agent' => "Mozilla/6.0");
my($code, $mess, %h) = $s->read_response_headers;
# Try to read something