linkchecker/linkcheck/plugins
Nathan Arthur 6499b7b233 Fix a major thread-safety bug in AnchorCheck
The threading issue has been there for years, but I didn't notice it
until after I thought I was done, while I was doing manual testing
(with threads re-enabled).

The problem was with storing URL-specific state (.anchors) on the
AnchorCheck object itself, because there's only one global AnchorCheck
object, so all the threads are competing to use that one simgle variable
(self.anchors).

The solution was to create a new object to hold .anchors, for each
processed URL.
2022-10-03 19:33:05 +01:00
..
__init__.py Use pkgutil to simplify loader.get_package_modules() 2021-12-30 19:27:04 +00:00
anchorcheck.py Fix a major thread-safety bug in AnchorCheck 2022-10-03 19:33:05 +01:00
httpheaderinfo.py Convert to Python 3 super() 2020-06-03 20:06:36 +01:00
locationinfo.py Remove strformat.unicode_safe() and strformat.url_unicode_split() 2020-07-07 17:25:28 +01:00
markdowncheck.py Fix xgettext Non-ASCII error when translating 2020-06-05 16:06:01 +01:00
parsepdf.py Remove execute bits from parsepdf.py and parseword.py 2021-01-14 19:48:22 +00:00
parseword.py Correct mention of pdfminer in WordParser comment 2022-05-18 19:29:54 +01:00
regexcheck.py Convert to Python 3 super() 2020-06-03 20:06:36 +01:00
sslcertcheck.py Fix typos 2022-09-02 17:20:02 +08:00
syntaxchecks.py Fix CssSyntaxCheck list index out of range 2020-08-14 19:25:21 +01:00
viruscheck.py Fix formatting and typos in docstrings 2020-07-25 16:35:48 +01:00