veeso / suppaftp

a super FTP/FTPS client library for Rust with support for both passive and active mode
Apache License 2.0
121 stars 31 forks source link

[BUG] - FEAT in asyncFtpStream hangs #62

Closed newfla closed 1 year ago

newfla commented 1 year ago

Description

Calling ImplAsyncFtpStream.feat().await will cause waiting forever on self.reader.read_until(0x0A, line.as_mut()). ImplAsyncFtpStream.read_response_in() should not consume the buffer when expected_code == Status::System