Hello,
We found a problem while using M2crypto 0.06
work with Zope-2.4.2.
We're calling a Zope extrenal method on
another matchine (same configuration)
through XML-RPC and we noticed that once the
content-lenght of the HTTP
request gets larger than 4096 bytes the calling
function hangs (Zope hangs; the
server Zope still works fine).
Below is the printout generated by the client
Zope:
reply: 'HTTP/1.0 200 OK\r\n'
header: Server:
Zope/(Zope 2.4.2 (binary release,
2.1.0, win32)
ZServerSSL/0.06
header: Date: Fri, 30 Nov 2001 13:16:22 GMT
header:
Connection: close
header: Content-Type: text/xml
header: Content-Length:
127
3932
send: 'POST /RPC2 HTTP/1.0\r\n'
send: 'Host:
192.168.1.4\r\n'
send: 'User-Agent: xmlrpc_ssl.py/0.06 -
xmlrpclib.
m)\r\n'
send: 'Content-Type: text/xml\r\n'
send:
'Content-Length: 4097\r\n'
send: 'Authorization: Basic
c29uaWE6c29uaWE=\r\n'
The function's only argument is a string and we
tested it bye
calling the method in a for loop until it
hung:
for i in range(3910,4000,1):
stringXml =
"X"*i
print i
rs =
x.recepcaoActualizacao(stringXml)
Everything works fine by HTTP (not secure) even for 200Kb strings.
Can you help?
Thanks in advance,
Sónia