This commit is contained in:
ugo.cirmignani
2019-07-18 14:50:58 +02:00
parent 1caa077dc9
commit 4ee77e8cfe
17 changed files with 7 additions and 6 deletions

View File

@ -22,8 +22,8 @@ ENABLE_LARGE_FILE_SUPPORT=-D LARGE_FILE_SUPPORT_ENABLED -D _LARGEFILE64_SOURCE
ENABLE_OPENSSL_SUPPORT=
#TO ENABLE OPENSSL SUPPORT UNCOMMENT NEXT 2 LINES
ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
LIBS=-lpthread -lssl -lcrypto
#ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
#LIBS=-lpthread -lssl -lcrypto
ENABLE_PAM_SUPPORT=
PAM_AUTH_LIB=

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -518,10 +518,6 @@ void runFtpServer(void)
{
printf("\nHello uFTP server %s starting..\n", UFTP_SERVER_VERSION);
//Fork the process
respawnProcess();
printf("\nRespawn routine okay\n");
/* Needed for Select*/
static int processingSock = 0, returnCode = 0;
@ -538,6 +534,11 @@ void runFtpServer(void)
/* initialize the ftp data structure */
initFtpData(&ftpData);
printf("\nRespawn routine okay\n");
//Fork the process
respawnProcess();
//Socket main creator
ftpData.connectionData.theMainSocket = createSocket(&ftpData);
printf("\nuFTP server starting..");