FW: Problem downloading large files
Hello all, I apologize if this is a wrong list for the question, but the python-crypto list doesn't seem to be working (at least I haven't received anything from there, not even the mails I've sent). Anyway I suppose there are people here who run the ZServerSSL with Zope. We're having some problems downloading large files from Zope/Plone running on win32, through an SSL connection. Uploads seem work ok. There's been some discussion about similar issues, but with uploads (http://www.zope.org/Wikis/DevSite/Proposals/ZServerSSLIntegration). The variable ac_out_buffer_size in https_server.py mentioned in that post is not present in the current version (or at least I haven't found it). The ac_in_buffer_size is assigned a value of 32k (1 << 16 bit shift operation). We've tried to change this value but with no success. This seems to be a problem only with SSL connections. If we download the same file (say, for example of 200MB) through HTTP connection the file transfers correctly. The same transfer through an SSL connection produces a corrupted file. M2Crypto 0.13 (suppose, The ZServerSSL has been installed with the Windows installer), Plone 2.0.3, Zope 2.7.0, Python 2.3.3 on win32. Kind regards, Tuukka
Laurikainen, Tuukka wrote:
We're having some problems downloading large files from Zope/Plone running on win32, through an SSL connection. Uploads seem work ok.
Then stop being dense and just use Apache as an https proxy. Works a treat, unlike ZServerSSL, which feels like a horrible hack to me... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Laurikainen, Tuukka wrote at 2005-7-22 11:25 +0200:
We're having some problems downloading large files from Zope/Plone running on win32, through an SSL connection. Uploads seem work ok.
By itself, Zope does not support SSL. Thus, the problem might be in "ZServerSSL". Consider to contact its author. -- Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Laurikainen, Tuukka