mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
01969e59fb
commit
2ddf66a71d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user