diff --git a/sftp/src/proto.rs b/sftp/src/proto.rs index c193f5db..f000107a 100644 --- a/sftp/src/proto.rs +++ b/sftp/src/proto.rs @@ -95,9 +95,6 @@ pub const MAX_NAME_ENTRY_SIZE: usize = 4 + MAX_PATH_LEN + 4 + MAX_ATTRS_LEN; /// and directory listings are streamed, never buffered whole. /// /// The largest piece is a [`NameEntry`], since it contains a full path. -/// [`SftpSink`](crate::sftpsink::SftpSink) always reserves -/// [`SFTP_FIELD_LEN_LENGTH`] bytes for a length prefix at the start of the -/// buffer, so that is included too. pub const MAX_RESPONSE_LEN: usize = SFTP_FIELD_LEN_LENGTH + MAX_NAME_ENTRY_SIZE; // TODO is utf8 enough, or does this need to be an opaque binstring?