~ubuntu-branches/ubuntu/lucid/lighttpd/lucid-security

« back to all changes in this revision

Viewing changes to src/base.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Krzyzaniak (eloy)
  • Date: 2006-01-16 20:06:39 UTC
  • mto: (6.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060116200639-nejjwyvlkgjhzasa
Tags: upstream-1.4.9
ImportĀ upstreamĀ versionĀ 1.4.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
        unsigned short use_ipv6;
261
261
        unsigned short is_ssl;
262
262
        unsigned short allow_http11;
263
 
        unsigned short force_lower_case; /* if the FS is case-insensitive, force all files to lower-case */
 
263
        unsigned short force_lowercase_filenames; /* if the FS is case-insensitive, force all files to lower-case */
264
264
        unsigned short max_request_size;
265
265
 
266
266
        unsigned short kbytes_per_second; /* connection kb/s limit */
289
289
#endif
290
290
} specific_config;
291
291
 
292
 
typedef enum { CON_STATE_CONNECT, CON_STATE_REQUEST_START, CON_STATE_READ, CON_STATE_REQUEST_END, CON_STATE_READ_POST, CON_STATE_HANDLE_REQUEST, CON_STATE_RESPONSE_START, CON_STATE_WRITE, CON_STATE_RESPONSE_END, CON_STATE_ERROR, CON_STATE_CLOSE } connection_state_t;
 
292
/* the order of the items should be the same as they are processed
 
293
 * read before write as we use this later */
 
294
typedef enum { 
 
295
        CON_STATE_CONNECT, 
 
296
        CON_STATE_REQUEST_START, 
 
297
        CON_STATE_READ, 
 
298
        CON_STATE_REQUEST_END, 
 
299
        CON_STATE_READ_POST, 
 
300
        CON_STATE_HANDLE_REQUEST, 
 
301
        CON_STATE_RESPONSE_START, 
 
302
        CON_STATE_WRITE, 
 
303
        CON_STATE_RESPONSE_END, 
 
304
        CON_STATE_ERROR, 
 
305
        CON_STATE_CLOSE 
 
306
} connection_state_t;
293
307
 
294
308
typedef enum { COND_RESULT_UNSET, COND_RESULT_FALSE, COND_RESULT_TRUE } cond_result_t;
295
309
typedef struct {
459
473
                        STAT_CACHE_ENGINE_SIMPLE, 
460
474
                        STAT_CACHE_ENGINE_FAM 
461
475
        } stat_cache_engine;
 
476
        unsigned short enable_cores;
462
477
} server_config;
463
478
 
464
479
typedef struct {
558
573
        connections *fdwaitqueue;
559
574
        
560
575
        stat_cache  *stat_cache;
 
576
 
 
577
        /**
 
578
         * The status array can carry all the status information you want
 
579
         * the key to the array is <module-prefix>.<name>
 
580
         * and the values are counters
 
581
         *
 
582
         * example:
 
583
         *   fastcgi.backends        = 10
 
584
         *   fastcgi.active-backends = 6
 
585
         *   fastcgi.backend.<key>.load = 24
 
586
         *   fastcgi.backend.<key>....
 
587
         *
 
588
         *   fastcgi.backend.<key>.disconnects = ...
 
589
         */
 
590
        array *status;
561
591
        
562
592
        fdevent_handler_t event_handler;
563
593