Message21282
Logged In: YES
user_id=972995
I retried that again with py2.4.1. The problem/bug is still
there.
In attachment I supplied a full FTPS client test_ftpslib.py
with simple test function - ready to run into the problem:
At the end of ftp.retrlines 'return self.voidresp()'
freezes : waiting eternally for response bytes at the
command port. the same at the end of .storelines after the
data is transfered on the data port.
My preliminary guess is still, that python's ssl has a
severe (EOF?) problem closing a socket/connection correctly.
obviously this problem doesn't show up with https because
everything is done on one connection - no dependency on a
correct socket/connect close signal.
(from other https communication with some proxies in between
my users get ssl-eof-error errors also. I still can't solve
that bug too. this shows python's ssl has a severe EOF bug
with complex https also - or cannot handle certain
situations correct.)
I learned the FTPS/TLS client from M2crypto's ftpslib. the
only difference in (transposed) logic, that I can see is,
that M2crpyto uses an additional line
"conn.set_session(self.sock.get_session())" during setup of
the data port ssl connection. I don't know what it is,
pythons ssl doesn't have sucht "session"-functions, but I
think it has no severe meaning.?
Robert |
|
Date |
User |
Action |
Args |
2007-08-23 14:22:53 | admin | link | issue978833 messages |
2007-08-23 14:22:53 | admin | create | |
|