Changeset 1562
- Timestamp:
- 06/17/08 13:17:51 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/macros.h (modified) (1 diff)
- cherokee/trunk/cherokee/server.c (modified) (1 diff)
- cherokee/trunk/cherokee/thread.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1561 r1562 1 1 2008-06-17 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/thread.c (phase_to_str): It only needed to be compiled 4 when TRACE was enabled. Fixes compilation warning. 5 6 * cherokee/macros.h (IOCACHE_DEFAULT_CLEAN_ELAPSE): Changed from 2 7 to 20. It should have been set to that value. We must have made a 8 mistake during a test and the wrong value got into the repository. 2 9 3 10 * admin/PageEntry.py, admin/Module.py, admin/ModuleScgi.py, cherokee/trunk/cherokee/macros.h
r1477 r1562 127 127 128 128 #define IOCACHE_MAX_FILE_SIZE 50000 129 #define IOCACHE_DEFAULT_CLEAN_ELAPSE 2 129 #define IOCACHE_DEFAULT_CLEAN_ELAPSE 20 130 130 131 131 #define EXIT_CANT_CREATE_SERVER_SOCKET4 10 cherokee/trunk/cherokee/server.c
r1506 r1562 131 131 n->tls_enabled = false; 132 132 133 n->fdwatch_msecs = 999;133 n->fdwatch_msecs = 1000; 134 134 135 135 n->start_time = time(NULL); cherokee/trunk/cherokee/thread.c
r1556 r1562 49 49 50 50 51 #ifdef TRACE 51 52 static char * 52 53 phase_to_str (cherokee_connection_phase_t phase) … … 71 72 return NULL; 72 73 } 74 #endif 73 75 74 76 static void … … 628 630 process_active_connections (cherokee_thread_t *thd) 629 631 { 632 int re; 630 633 ret_t ret; 631 634 off_t len; … … 664 667 * and it's not reading header or there is no more buffered data. 665 668 */ 666 if ( conn->phase != phase_shutdown && 667 (conn->phase != phase_reading_header || 668 conn->incoming_header.len < 1)) { 669 int num; 670 671 num = cherokee_fdpoll_check (thd->fdpoll, 672 SOCKET_FD(&conn->socket), 673 SOCKET_STATUS(&conn->socket)); 674 switch (num) { 669 if ((conn->phase != phase_shutdown) && 670 (conn->phase != phase_reading_header || conn->incoming_header.len <= 0)) 671 { 672 re = cherokee_fdpoll_check (thd->fdpoll, 673 SOCKET_FD(&conn->socket), 674 SOCKET_STATUS(&conn->socket)); 675 switch (re) { 675 676 case -1: 676 677 conns_freed++;