mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 09:26:27 +02:00
- some bugfixes for ftp transfer (i think multiple concurrent users now works properly)
This commit is contained in:
@@ -70,6 +70,8 @@ typedef struct
|
||||
uint32_t timeLastCmd; ///< timestamp of last ftp activity (used for timeout generation)
|
||||
socket_t ctrlSocket; ///< socket for control connection
|
||||
socket_t passiveDataSocket; ///< listener socket for data connections in passive mode
|
||||
ip_t passiveIp; ///< IP of the FTP Server from the clients perspective related to Passive connection
|
||||
port_t passivePort; ///< Port of the FTP Server from the clients perspective related to Passive connection
|
||||
transmission_S activeTrans; ///< infos about a currently active file/directory-transmission
|
||||
|
||||
}ftpSession_S;
|
||||
|
@@ -25,12 +25,12 @@
|
||||
/**
|
||||
* @brief max. possible simultaneous FTP client connections
|
||||
*/
|
||||
#define MAX_CONNECTIONS 60
|
||||
#define MAX_CONNECTIONS 20
|
||||
|
||||
/**
|
||||
* @brief max. possible user accounts
|
||||
*/
|
||||
#define MAX_USERS 20
|
||||
#define MAX_USERS 10
|
||||
|
||||
/**
|
||||
* @brief max. length of a user account name
|
||||
@@ -58,7 +58,7 @@
|
||||
* The scratch buffer is used for
|
||||
* send / receive of files and directory listings
|
||||
*/
|
||||
#define LEN_SCRATCHBUF 1024
|
||||
#define LEN_SCRATCHBUF 1024
|
||||
|
||||
/**
|
||||
* @brief Size of the receive buffer for ftp commands
|
||||
|
Reference in New Issue
Block a user