mirror of
https://github.com/kingk85/uFTP.git
synced 2025-04-20 00:18:57 +03:00
Watchdog
This commit is contained in:
4
Makefile
4
Makefile
@ -22,8 +22,8 @@ ENABLE_LARGE_FILE_SUPPORT=-D LARGE_FILE_SUPPORT_ENABLED -D _LARGEFILE64_SOURCE
|
|||||||
|
|
||||||
ENABLE_OPENSSL_SUPPORT=
|
ENABLE_OPENSSL_SUPPORT=
|
||||||
#TO ENABLE OPENSSL SUPPORT UNCOMMENT NEXT 2 LINES
|
#TO ENABLE OPENSSL SUPPORT UNCOMMENT NEXT 2 LINES
|
||||||
ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
|
#ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
|
||||||
LIBS=-lpthread -lssl -lcrypto
|
#LIBS=-lpthread -lssl -lcrypto
|
||||||
|
|
||||||
ENABLE_PAM_SUPPORT=
|
ENABLE_PAM_SUPPORT=
|
||||||
PAM_AUTH_LIB=
|
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.
BIN
build/uFTP
BIN
build/uFTP
Binary file not shown.
@ -518,10 +518,6 @@ void runFtpServer(void)
|
|||||||
{
|
{
|
||||||
printf("\nHello uFTP server %s starting..\n", UFTP_SERVER_VERSION);
|
printf("\nHello uFTP server %s starting..\n", UFTP_SERVER_VERSION);
|
||||||
|
|
||||||
//Fork the process
|
|
||||||
respawnProcess();
|
|
||||||
|
|
||||||
printf("\nRespawn routine okay\n");
|
|
||||||
|
|
||||||
/* Needed for Select*/
|
/* Needed for Select*/
|
||||||
static int processingSock = 0, returnCode = 0;
|
static int processingSock = 0, returnCode = 0;
|
||||||
@ -538,6 +534,11 @@ void runFtpServer(void)
|
|||||||
/* initialize the ftp data structure */
|
/* initialize the ftp data structure */
|
||||||
initFtpData(&ftpData);
|
initFtpData(&ftpData);
|
||||||
|
|
||||||
|
printf("\nRespawn routine okay\n");
|
||||||
|
|
||||||
|
//Fork the process
|
||||||
|
respawnProcess();
|
||||||
|
|
||||||
//Socket main creator
|
//Socket main creator
|
||||||
ftpData.connectionData.theMainSocket = createSocket(&ftpData);
|
ftpData.connectionData.theMainSocket = createSocket(&ftpData);
|
||||||
printf("\nuFTP server starting..");
|
printf("\nuFTP server starting..");
|
||||||
|
Reference in New Issue
Block a user