Changeset 1594

Show
Ignore:
Timestamp:
06/22/08 09:57:07 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/cherokee/iocache.c

    r1439 r1594  
    474474        if (ret != ret_ok) { 
    475475                if (iocache->files_num >= iocache->files_max) { 
     476                        TRACE(ENTRIES, "Cache full for '%s'\n", filename->buf); 
    476477                        *ret_file = NULL; 
    477478                        ret = ret_no_sys; 
     
    538539                if (ret != ret_ok) { 
    539540                        if (iocache->files_num >= iocache->files_max) { 
     541                                TRACE(ENTRIES, "Cache full for '%s'\n", filename->buf); 
     542                                *ret_file = NULL; 
    540543                                ret = ret_no_sys; 
    541544                                goto error; 
  • cherokee/trunk/contrib/tracelor.py

    r1593 r1594  
    4444    while True: 
    4545        line = sys.stdin.readline() 
    46         if not line
     46        if len(line) < 1
    4747            break 
    4848 
  • cherokee/trunk/qa/help.py

    r860 r1594  
    1414 
    1515  -n<NUM>       Repetitions 
    16   -t<NUM>       Number of threads of the server 
    1716  -p<NUM>       Server port 
    1817  -r<NUM>       Starting delay (secs) 
     18  -t<NUM>       Client threads number 
     19  -T<NUM>       Server threads number 
    1920  -j<FLOAT>     Delay between tests (secs) 
    2021 
  • cherokee/trunk/qa/run-tests.py

    r1588 r1594  
    2929pause     = 0 
    3030tpause    = 0.0 
     31srv_thds  = None 
    3132ssl       = False 
    3233clean     = True 
     
    8889    elif p[:2] == '-p': port      = int(p[2:]) 
    8990    elif p[:2] == '-r': delay     = int(p[2:]) 
     91    elif p[:2] == '-T': srv_thds  = int(p[2:])     
    9092    elif p[:2] == '-j': tpause    = float(p[2:]) 
    9193    elif p[:2] == '-d': pause     = p[2:] 
     
    191193""" % (LOGGER_TYPE, LOGGER_ACCESS, LOGGER_ERROR) 
    192194 
     195if srv_thds: 
     196    CONF_BASE += """ 
     197server!thread_number = %d 
     198""" % (srv_thds) 
    193199 
    194200# Import modules