veeso / suppaftp

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

[BUG] - FEAT in asyncFtpStream hangs #62

Closed newfla closed 10 months ago

newfla commented 10 months 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