Mark Ebbers created SSHD-823:
--------------------------------
Summary: Retrieving a directy listing of a directory containing a
large number of files is very slow.
Key: SSHD-823
URL: https://issues.apache.org/jira/browse/SSHD-823
Project: MINA SSHD
Issue Type: Improvement
Affects Versions: 1.7.0, 1.6.0
Reporter: Mark Ebbers
Retrieving a directy listing of a directory containing a large number of files
is very slow.
The method SftpSubSystem.doReaddir() uses a fixed maximum packet size of the
returned SSH_FXP_NAME packets of 16*1024 bytes. Defined by the constant
DEFAULT_MAX_READDIR_DATA_SIZE. It is possible to override this constant by
setting the property MAX_READDIR_DATA_SIZE_PROP for that session.
Would it not be better to dynamicly calculate the maximum SSH_FXP_NAME packet
size based on MAX_PACKET_SIZE?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)