mirror of https://github.com/scrapy/scrapy.git
Checksum calculation could happen simultaniously with persisting the file in the store (which is done in a thread): they operated on the same buf object. Concretely this lead to a bug with S3FilesStore when using botocore: the signature did not match because the position in the buf was already at the end. The fix is to move checksum calculation before passing buf to the store. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| files.py | ||
| images.py | ||
| media.py | ||