Changeset 384 in Main


Ignore:
Timestamp:
Oct 17, 2024, 7:30:28 PM (4 weeks ago)
Author:
Nishi
Message:

use saner number

Location:
trunk/Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r377 r384  
    10141014        struct timeval tv;
    10151015#endif
    1016 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__))
     1016#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__) && !defined(__DOS__))
    10171017        struct thread_entry threads[2048];
    10181018        for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) {
  • trunk/Server/tw_config.h

    r359 r384  
    5555#endif
    5656
    57 #define MAX_PORTS 1024
    58 #define MAX_VHOSTS 1024
    59 #define MAX_MODULES 1024
    60 #define MAX_DIRS 1024
     57#define MAX_PORTS 128
     58#define MAX_VHOSTS 128
     59#define MAX_MODULES 128
     60#define MAX_DIRS 128
    6161#define MAX_MIME 4096
    62 #define MAX_ICON 1024
     62#define MAX_ICON 128
    6363#define MAX_INDEX 32
    6464#define MAX_README 8
Note: See TracChangeset for help on using the changeset viewer.