Changeset 59
- Timestamp:
- 10/21/05 18:46:59 (3 years ago)
- Files:
-
- cherokee/ChangeLog (modified) (1 diff)
- cherokee/Makefile.am (modified) (2 diffs)
- cherokee/cherokee/Makefile.am (modified) (4 diffs)
- cherokee/cherokee/Makefile.embedded (modified) (1 diff)
- cherokee/cherokee/handler_server_info.c (modified) (3 diffs)
- cherokee/cherokee/module_loader.c (modified) (1 diff)
- cherokee/cherokee/module_loader.h (modified) (1 diff)
- cherokee/debian_testing.sh (added)
- cherokee/debian_testing_chroot.sh (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/ChangeLog
r58 r59 1 2005-10-21 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * Makefile.am (COMPILATION_TESTS): Added debian_testing.sh and 4 debian_testing_chroot.sh to extra dist. 5 6 * cherokee/Makefile.embedded (OBJS): Fixed. It was not working 7 from the changes of 2005-10-19. 8 9 * cherokee/handler_server_info.c 10 (cherokee_handler_server_info_new): It was outdated. I was trying 11 to read a wrong structure and hence, it was providing random 12 information. Reported by Borja <@softonic.com> 13 1 14 2005-10-20 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 15 cherokee/Makefile.am
r33 r59 52 52 $(CONFS) 53 53 54 COMPILATION_TESTS = \ 55 debian_testing.sh \ 56 debian_testing_chroot.sh 57 58 54 59 EXTRA_DIST = \ 55 60 TODO \ … … 65 70 $(CONFS_PRE) \ 66 71 $(man_MANS) \ 67 $(WINDOWS_PORT_FILES) 72 $(WINDOWS_PORT_FILES) \ 73 $(COMPILATION_TESTS) 68 74 69 75 cherokee/cherokee/Makefile.am
r56 r59 305 305 # Handler admin 306 306 # 307 config_common = \ 308 connection_info.h \ 309 connection_info.c 310 307 311 handler_admin = \ 308 312 handler_admin.c \ 309 handler_admin.h 313 handler_admin.h \ 314 admin_server.h \ 315 admin_server.c 310 316 311 317 libplugin_admin_la_LDFLAGS = $(module_ldflags) 312 318 libplugin_admin_la_SOURCES = $(handler_admin) 313 libplugin_admin_la_LIBADD = -lcherokee-config -lcherokee-client319 libplugin_admin_la_LIBADD = libcherokee-config.la libcherokee-client.la 314 320 315 321 if STATIC_HANDLER_ADMIN 316 static_handler_admin_src = $(handler_admin) 317 static_handler_admin_lib = -lcherokee-config 322 static_handler_admin_src = $(handler_admin) $(config_common) 318 323 else 319 324 dynamic_handler_admin_lib = libplugin_admin.la 320 325 endif 321 322 326 323 327 … … 518 522 519 523 libcherokee_server_la_LDFLAGS = $(common_ldflags) 524 libcherokee_server_la_CFLAGS = \ 525 $(static_validator_htpasswd_flags) 520 526 libcherokee_server_la_LIBADD = \ 521 527 $(TLS_LIBS) \ 522 528 $(PTHREAD_LIBS) \ 523 529 $(PTHREAD_CFLAGS) \ 524 $(static_handler_admin_lib) \525 530 $(static_validator_pam_lib) \ 526 531 $(static_validator_htpasswd_lib) \ … … 650 655 downloader.c 651 656 652 libcherokee_server_la_CFLAGS = \653 $(static_validator_htpasswd_flags)654 655 657 libcherokee_server_la_SOURCES = \ 656 658 icons_grammar.y \ … … 723 725 724 726 libcherokee_config_la_SOURCES = \ 727 $(config_common) \ 725 728 admin_client.h \ 726 admin_client.c \ 727 admin_server.h \ 728 admin_server.c \ 729 connection_info.h \ 730 connection_info.c 729 admin_client.c 731 730 732 731 cherokee/cherokee/Makefile.embedded
r55 r59 49 49 handler_common.o \ 50 50 list_merge_sort.o \ 51 post.o \ 51 52 nonce.o \ 52 53 typed_table.o \ 53 read_config_embedded.o 54 54 read_config_embedded.o 55 55 56 56 all: u-cherokee cherokee/cherokee/handler_server_info.c
r38 r59 229 229 build_modules_table_content_while (const char *key, void *value, void *params[]) 230 230 { 231 int *loggers = (int *) params[2]; 232 int *handlers = (int *) params[3]; 233 int *encoders = (int *) params[4]; 234 int *validators = (int *) params[5]; 235 int *generic = (int *) params[6]; 236 cherokee_module_info_t *mod = value; 237 231 int *loggers = (int *) params[2]; 232 int *handlers = (int *) params[3]; 233 int *encoders = (int *) params[4]; 234 int *validators = (int *) params[5]; 235 int *generic = (int *) params[6]; 236 237 cherokee_module_loader_entry_t *entry = value; 238 cherokee_module_info_t *mod = entry->info; 239 238 240 if (mod->type & cherokee_logger) { 239 241 *loggers += 1; … … 247 249 *generic += 1; 248 250 } else { 249 SHOULDNT_HAPPEN;251 PRINT_ERROR("Unknown module type (%d)\n", mod->type); 250 252 } 251 253 … … 370 372 /* Init 371 373 */ 374 n->just_about = false; 375 372 376 cherokee_buffer_new (&n->buffer); 373 377 cherokee_buffer_ensure_size (n->buffer, 4*1024); cherokee/cherokee/module_loader.c
r55 r59 38 38 #include "buffer.h" 39 39 40 41 typedef struct { 42 cherokee_module_info_t *info; 43 void *dlopen_ref; 44 } entry_t; 40 typedef cherokee_module_loader_entry_t entry_t; 45 41 46 42 cherokee/cherokee/module_loader.h
r31 r59 36 36 CHEROKEE_BEGIN_DECLS 37 37 38 typedef struct { 39 cherokee_module_info_t *info; 40 void *dlopen_ref; 41 } cherokee_module_loader_entry_t; 38 42 39 //typedef struct cherokee_module_loader cherokee_module_loader_t;40 43 typedef struct cherokee_table cherokee_module_loader_t; 41 44