From 63d583d9be12ae52dfcb60d960f4657c7241a1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Thu, 8 Dec 2011 13:54:16 -0200 Subject: [PATCH] SSL handshaking hangs when doing too many parallel connections to S3 --- scrapy/contrib/pipeline/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/contrib/pipeline/images.py b/scrapy/contrib/pipeline/images.py index c7333a542..aa0a7b0b4 100644 --- a/scrapy/contrib/pipeline/images.py +++ b/scrapy/contrib/pipeline/images.py @@ -102,7 +102,7 @@ class S3ImagesStore(object): def _get_boto_bucket(self): from boto.s3.connection import S3Connection - c = S3Connection(self.AWS_ACCESS_KEY_ID, self.AWS_SECRET_ACCESS_KEY) + c = S3Connection(self.AWS_ACCESS_KEY_ID, self.AWS_SECRET_ACCESS_KEY, is_secure=False) return c.get_bucket(self.bucket, validate=False) def _get_boto_key(self, key):