summaryrefslogtreecommitdiff
path: root/tests/roots/test-linkcheck-localserver-https
Commit message (Collapse)AuthorAgeFilesLines
* linkcheck: Use context managers for HTTP requests (#11318)James Addison2023-05-091-1/+1
| | | | | | | | This closes HTTP responses when no content reads are required, as when requests are made in streaming mode, ``requests`` doesn't know whether the caller may intend to later read content from a streamed HTTP response object and holds the socket open. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Increase timeout threshold for ``linkcheck`` tests (#11326)James Addison2023-04-211-1/+1
|
* Increase ``test_linkcheck`` timeoutsAdam Turner2023-03-241-5/+1
|
* Speed up ``test_linkcheck``Adam Turner2023-03-241-0/+5
|
* linkcheck: test invalid SSL is reported as brokenFrançois Freitag2020-11-122-0/+2
`linkcheck` logic suggests that SSL errors were originally expected to be ignored. Blaming the corresponding lines point to issue #3008: linkcheck to website with self-signed certificates. That issue was fixed by commit 4c7bec6460ae6154705bfd023e363e458f16d1b6, which ignored SSL errors. Probably because back then, users could not specify a CA bundle. A broken SSL certificate is a real issue, it should not be ignored. Users wishing to ignore issues for a specific link can use the `linkcheck_ignore` option. The current behavior is to report the site as broken, keep it.