Subject: | Misinterprets multiline responses under some circumstances |
If Net::FTPSSL receives a multiline response (as defined in RFC 959 sec 4.2), and the entire multiline response is not read in one call to sysread, the module does not attempt to read the rest of the response. This causes the unread part of the response to be interpreted as a response to the next FTP command issued, and so it continues out of step until the end of the FTP session.
We are using one particular FTPSSL server on which this always happens, making sending and receiving impossible.
The attached patch against v0.04 fixes this problem.
Perl version: This is perl, v5.8.4 built for i386-linux-thread-multi
uname -a: Linux charcoal 2.6.8-camera3 #1 SMP Mon Dec 26 13:21:16 EST 2005 i686 GNU/Linux
Message body not shown because it is not plain text.