Open mattnenterprise opened 8 years ago
Nothing is wrong with the current implementation. Another issue was opened in another project of mine that asked for this kind of functionality. https://github.com/mattnenterprise/rust-imap/issues/3 I don't think it should be done for this project unless someone requests it. I think the current implementation is just fine.
Ok I see. I think it would be more difficult than for IMAP though, because of FTP's passive mode. I'd say another solution might be to support SOCKS proxying instead with the "socks" crate. Anyway, I agree with you, we can wait until somebody needs this.
What is the problem of the current implementation using a TcpStream explicitly?