Changeset 269

Show
Ignore:
Timestamp:
04/16/06 13:55:56 (3 years ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r261 r269  
     12006-04-16  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * Makefile.am, sites-default.sample.pre, cherokee/handler_redir, 
     4        cherokee/handler_redir.h, cherokee/module_loader.c, 
     5        cherokee/handler_server_info.c, cherokee/module_loader.h, 
     6        cherokee/dict.c, cherokee/dict.h, cherokee/handler_cgi_base.c, 
     7        cherokee/resolv_cache.c, cherokee/handler_cgi_base.h, 
     8        cherokee/access.c, cherokee/handler_dirlist.c, 
     9        cherokee/module_loader-protected.h, cherokee/list.c, 
     10        cherokee/handler_dirlist.h, cherokee/virtual_server.c, 
     11        cherokee/list.h, cherokee/virtual_server.h, 
     12        cherokee/handler_common.c, cherokee/cherokee_show.c, 
     13        cherokee/config_entry.c, cherokee/module.h, 
     14        cherokee/config_entry.h, cherokee/request.h, cherokee/avl, 
     15        cherokee/validator_plain.c, cherokee/reqs_list.h, 
     16        cherokee/ext_source.c, cherokee/avl.c, cherokee/ext_source.h, 
     17        cherokee/validator.c, cherokee/avl.h, cherokee/exts_table.c, 
     18        cherokee/validator.h, cherokee/encoder_table.h, 
     19        cherokee/typed_table.c, cherokee/main_admin.c, 
     20        cherokee/typed_table.h, cherokee/validator_htpasswd.c, 
     21        cherokee/thread.c, cherokee/buffer.c, cherokee/handler_file.c, 
     22        cherokee/thread.h, cherokee/buffer.h, cherokee/main.c, 
     23        cherokee/Makefile.am, cherokee/handler_fcgi.c, 
     24        cherokee/session_cache.c, cherokee/config_node.c, 
     25        cherokee/icons.c, cherokee/session_cache.h, 
     26        cherokee/config_node.h, cherokee/icons.h, cherokee/handler_scgi.c, 
     27        cherokee/handler_error.c, cherokee/table.c, cherokee/list_ext.c, 
     28        cherokee/logger_table.h, cherokee/table.h, cherokee/handler_cgi.c, 
     29        cherokee/list_ext.h, cherokee/dict, cherokee/server-protected.h, 
     30        cherokee/handler_cgi.h, cherokee/module_read_config.c, 
     31        cherokee/module_read_config.h, cherokee/admin_server.c, 
     32        cherokee/connection_info.h, cherokee/validator_htdigest.c, 
     33        cherokee/mime-protected.h, cherokee/table-protected.h, 
     34        cherokee/matching_list.c, cherokee/cherokee.h, 
     35        cherokee/matching_list.h, cherokee/iocache.c, 
     36        cherokee/connection.c, cherokee/list_merge_sort.c, 
     37        cherokee/list_merge_sort.h, cherokee/server.c, 
     38        cherokee/handler_phpcgi.c, cherokee/dirs_table.c, 
     39        cherokee/mime_entry.c, cherokee/server.h, cherokee/dirs_table.h, 
     40        cherokee/virtual_entries.c, cherokee/validator_pam.c, 
     41        cherokee/virtual_entries.h, cherokee/socket.c, 
     42        cherokee/connection-protected.h, cherokee/reqs_list_entry.h, 
     43        windows/cherokee.nsi.in, cherokee_logrotate.1, 
     44        doc/develop/Intro.txt, cherokee.1, configure.in, README: Many 
     45        changes mixed together in here: 1.- The list and AVL 
     46        implementations are new.  2.- I've added a new configuration 
     47        system much more generic than the previous one (it doesn't require 
     48        yacc or lex any longer! but it isn't meant to be written by hand 
     49        though). 3.- Most of the modules have been updated to read its 
     50        configuration with the new method. 
     51 
     52        * qa/031-Post+urlencoded2.py, qa/112-NiceError-CGI.py, 
     53        qa/034-DirIndex2.py, qa/083-RedirParam.py, 
     54        qa/125-domain-redir1.py, qa/080-Extension2.py, qa/070-Inherit.py, 
     55        qa/104-ScriptAlias_PathInfo.py, qa/091-Digest2.py, 
     56        qa/029-Post+Without-lenght.py, qa/127-SCGI-Post.py, 
     57        qa/086-AuthUsers2.py, qa/020-VirtualHost.py, qa/087-Location.py, 
     58        qa/015-CGI-simple.py, qa/082-Auth-header.py, qa/047-Redir2.py, 
     59        qa/017-CGI-pathinfo2.py, qa/042-Pipelining.py, 
     60        qa/118-Request-redir.py, qa/040-Auth-Basic2.py, 
     61        qa/107-Priority1.py, qa/108-Priority2.py, qa/033-DirIndex.py, 
     62        qa/076-AccessRange2.py, qa/109-Priority3.py, 
     63        qa/089-gzip-encoding.py, qa/037-PHP-post.py, qa/061-PAM.py, 
     64        qa/043-Pipelining2.py, qa/075-AccessRange.py, qa/072-Inherit3.py, 
     65        qa/093-InvalidLinks.py, qa/097-htpasswd-sha1.py, qa/run-tests.py, 
     66        qa/073-Access.py, qa/046-Redir.py, qa/117-DomainToDir.py, 
     67        qa/045-Home2.py, qa/081-DocumentRoot-Common-index.py, 
     68        qa/066-DirectoryIndex3.py, qa/063-DocumentRoot.py, 
     69        qa/071-Inherit2.py, qa/126-SCGI.py, qa/102-QueryString.py, 
     70        qa/128-ValidMethod-common.py, qa/124-DomainToDir2.py, 
     71        qa/062-PAM2.py, qa/041-Auth-Basic3.py, qa/122-Methods.py, 
     72        qa/098-htpasswd-crypt.py, qa/016-CGI-pathinfo.py, qa/001-basic.py, 
     73        qa/044-Home.py, qa/116-RequestTiny.py, qa/021-VirtualHost2.py, 
     74        qa/121-NoUserDir.py, qa/077-AccessRange3.py, qa/035-PHP-simple.py, 
     75        qa/065-DirectoryIndex2.py, qa/088-CGI-envs.py, 
     76        qa/085-AuthUsers.py, qa/131-ChangeUser-phpcgi.py, 
     77        qa/018-CGI-pathinfo3.py, qa/094-URL-request.py, 
     78        qa/110-Priority4.py, qa/123-ImplicitRedit.py, 
     79        qa/099-htpasswd-plain.py, qa/050-HeadBody.py, qa/079-Extension.py, 
     80        qa/113-HeaderFile.py, qa/074-Access2.py, qa/096-htpasswd-md5.py, 
     81        qa/084-RedirParamShow.py, qa/049-NN-broken.py, 
     82        qa/064-DirectoryIndex.py, qa/030-Post+urlencoded.py, 
     83        qa/068-PathInfo2.py, qa/069-PathInfo3.py, qa/092-Digest3.py, 
     84        qa/095-htpasswd-apache-md5.py, qa/067-PathInfo.py, qa/048-NN.py, 
     85        qa/039-Auth-Basic.py, qa/105-If-Range.py, 
     86        qa/130-Digest-EmptyPasswd.py, qa/115-Respin.py, 
     87        qa/103-ScriptName.py, qa/129-Basic-EmptyPasswd.py, 
     88        qa/114-HeaderFile2.py, qa/106-If-Range2.py, 
     89        qa/036-DocumentRoot-common.py, qa/090-Digest.py, 
     90        qa/078-AccessAny.py, qa/100-Digest-htdigest.py: Rewritten using 
     91        the new configuration file syntax. 
     92 
     932006-04-15  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     94 
     95        * cherokee/handler_dirlist.c (cherokee_handler_dirlist_add_headers): 
     96        Added charset entry into Content-Type header. 
     97 
     982006-04-12  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     99 
     100        * cherokee/main.c (common_server_initialization): PID file must to 
     101        written before the server changes its user identity. 
     102 
     103        * cherokee.1, cherokee_logrotate.1, doc/develop/Intro.txt, README, 
     104        sites-default.sample.pre, windows/cherokee.nsi.in: URL poiting to 
     105        alobbs.com has been fixed to point to 0x50.org.  Patch by Gunnar 
     106        Wolf <gwolf@gwolf.org> 
     107         
    11082006-04-08  Rodrigo Fernandez-Vizarra  <rfdzvizarra@yahoo.ie> 
    2109 
     
    13120        * cherokee/downloader.h: Added interface to query the status of a 
    14121        download 
     122 
     1232006-04-07  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     124 
     125        * cherokee/buffer.c (cherokee_buffer_dup): New method. 
     126 
     1272006-04-05  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     128 
     129        * cherokee/macros.h (equal_str, equal_buf_str): Added new macros 
     130 
     1312006-04-04  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     132 
     133        * cherokee/module_loader.c, 
     134        cherokee/module_loader.h (cherokee_module_loader_get): New method. 
     135 
     136        * cherokee/icons.c (cherokee_icons_configure): Added. 
     137 
     138        * cherokee/icons.h, 
     139        cherokee/icons.c (cherokee_icons_read_config_file, 
     140        cherokee_icons_read_config_string): Removed. 
    15141 
    161422006-04-03  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
  • cherokee/trunk/Makefile.am

    r237 r269  
    9393        @$(mkinstalldirs) $(DESTDIR)$(cherokeeconfdir)/sites-available 
    9494        @if test -f $(DESTDIR)$(cherokeeconfdir)/cherokee.conf ; then \ 
    95                 echo "$@ will not overwrite existing $(cherokeeconfdir)/cherokee.conf"; \ 
     95                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/cherokee.conf"; \ 
    9696        else \ 
    9797                $(INSTALL_DATA) $(top_builddir)/cherokee.conf.sample $(DESTDIR)$(cherokeeconfdir)/cherokee.conf; \ 
    9898        fi 
    9999        @if test -f $(DESTDIR)$(cherokeeconfdir)/advanced.conf ; then \ 
    100                 echo "$@ will not overwrite existing $(cherokeeconfdir)/advanced.conf"; \ 
     100                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/advanced.conf"; \ 
    101101        else \ 
    102102                $(INSTALL_DATA) $(top_builddir)/advanced.conf.sample $(DESTDIR)$(cherokeeconfdir)/advanced.conf; \ 
    103103        fi 
    104104        @if test -f $(DESTDIR)$(cherokeeconfdir)/icons.conf ; then \ 
    105                 echo "$@ will not overwrite existing $(cherokeeconfdir)/icons.conf"; \ 
     105                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/icons.conf"; \ 
    106106        else \ 
    107107                $(INSTALL_DATA) $(top_srcdir)/icons.conf.sample $(DESTDIR)$(cherokeeconfdir)/icons.conf; \ 
    108108        fi 
    109109        @if test -f $(DESTDIR)$(cherokeeconfdir)/mime.types ; then \ 
    110                 echo "$@ will not overwrite existing $(cherokeeconfdir)/mime.types"; \ 
     110                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/mime.types"; \ 
    111111        else \ 
    112112                $(INSTALL_DATA) $(top_srcdir)/mime.types.sample $(DESTDIR)$(cherokeeconfdir)/mime.types; \ 
    113113        fi 
    114114        @if test -f $(DESTDIR)$(cherokeeconfdir)/mime.compression.types ; then \ 
    115                 echo "$@ will not overwrite existing $(cherokeeconfdir)/mime.compression.types"; \ 
     115                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/mime.compression.types"; \ 
    116116        else \ 
    117117                $(INSTALL_DATA) $(top_srcdir)/mime.compression.types.sample $(DESTDIR)$(cherokeeconfdir)/mime.compression.types; \ 
     
    121121        fi 
    122122        @if test -f $(DESTDIR)$(cherokeeconfdir)/sites-available/default ; then \ 
    123                 echo "$@ will not overwrite existing $(cherokeeconfdir)/sites-available/default"; \ 
     123                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/sites-available/default"; \ 
    124124        else \ 
    125125                $(INSTALL_DATA) $(top_builddir)/sites-default.sample $(DESTDIR)$(cherokeeconfdir)/sites-available/default; \ 
     
    127127        fi 
    128128        @if test -f $(DESTDIR)$(cherokeeconfdir)/sites-available/example.com ; then \ 
    129                 echo "$@ will not overwrite existing $(cherokeeconfdir)/sites-available/example.com"; \ 
     129                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/sites-available/example.com"; \ 
    130130        else \ 
    131131                $(INSTALL_DATA) $(top_builddir)/sites-example.sample $(DESTDIR)$(cherokeeconfdir)/sites-available/example.com; \ 
    132132        fi 
    133133        @if test -f $(DESTDIR)$(cherokeeconfdir)/mods-available/ssl ; then \ 
    134                 echo "$@ will not overwrite existing $(cherokeeconfdir)/mods-available/ssl"; \ 
     134                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/mods-available/ssl"; \ 
    135135        else \ 
    136136                $(INSTALL_DATA) $(top_builddir)/mods-ssl.sample $(DESTDIR)$(cherokeeconfdir)/mods-available/ssl; \ 
    137137        fi 
    138138        @if test -f $(DESTDIR)$(cherokeeconfdir)/mods-available/admin ; then \ 
    139                 echo "$@ will not overwrite existing $(cherokeeconfdir)/mods-available/admin"; \ 
     139                echo "$@ will not overwrite existing $(DESTDIR)$(cherokeeconfdir)/mods-available/admin"; \ 
    140140        else \ 
    141141                $(INSTALL_DATA) $(top_srcdir)/mods-admin.sample $(DESTDIR)$(cherokeeconfdir)/mods-available/admin; \ 
  • cherokee/trunk/README

    r187 r269  
    22=================== 
    33 
    4 A mailing-list cherokee@alobbs.com is available, to subscribe: 
    5     http://alobbs.com/cgi-bin/mailman/listinfo/cherokee 
     4A mailing-list cherokee@0x50.org is available, to subscribe: 
     5    http://0x50.org/cgi-bin/mailman/listinfo/cherokee 
    66 
    77The list archive is at: 
  • cherokee/trunk/cherokee.1

    r31 r269  
    4444There is a mailing list for discussion among Cherokee users and for 
    4545announcements of new and test versions. To join, send a message to 
    46 cherokee-admin@alobbs.com with the line: 
     46cherokee-admin@0x50.org with the line: 
    4747.PP 
    4848.B subscribe cherokee 
    4949.PP 
    50 in the body of the message. The submission address is cherokee@alobbs.com
     50in the body of the message. The submission address is cherokee@0x50.org
    5151.\" .SH "SEE ALSO" 
    5252.\" cherokee.conf (8) 
  • cherokee/trunk/cherokee/Makefile.am

    r257 r269  
    4242zlib/zutil.h 
    4343 
    44 dict_src =          \ 
    45 dict/dict_generic.h \ 
    46 dict/dict_generic.c \ 
    47 dict/sp_tree.h      \ 
    48 dict/sp_tree.c      \ 
    49 dict/dict_private.h 
    50  
    51 avl_src = \ 
    52 avl/avl.h \ 
    53 avl/avl.c 
    54  
    5544pcre_src = \ 
    5645pcre/get.c \ 
     
    9382-export-dynamic \ 
    9483$(module_ldflags_w32)  
    95  
    96  
    97 # 
    98 # Config stuff 
    99 # 
    100 module_read_config = \ 
    101 read_config_grammar.y \ 
    102 read_config_scanner.l \ 
    103 module_read_config.h \ 
    104 module_read_config.c 
    105  
    106 libplugin_read_config_la_LDFLAGS = $(module_ldflags) 
    107 libplugin_read_config_la_SOURCES = $(module_read_config) 
    108  
    109 if STATIC_MODULE_READ_CONFIG 
    110 static_module_read_config_src = $(module_read_config) 
    111 else 
    112 dynamic_module_read_config_lib = libplugin_read_config.la 
    113 endif 
    11484 
    11585 
     
    553523endif 
    554524 
    555  
    556  
    557 # 
    558 # Yacc and Lex paramters 
    559 # -d Generate .h file 
    560 # -l Don't use #line 
    561 # -t Debug 
    562 AM_YFLAGS=-d -l -t 
    563 AM_LFLAGS=-i 
    564525 
    565526 
     
    649610 
    650611libcherokee_base_la_SOURCES = \ 
    651 $(avl_src) \ 
    652612$(zlib_src) \ 
    653 $(dict_src) \ 
    654613$(internal_pcre_src) \ 
    655614$(internal_getopt_src) \ 
     
    662621$(win32_src) \ 
    663622cherokee.h \ 
     623avl.h \ 
     624avl.c \ 
    664625http.h \ 
    665626http.c \ 
    666627list.h \ 
    667 list_merge_sort.h \ 
    668 list_merge_sort.c \ 
     628list.c \ 
    669629list_ext.h \ 
    670630list_ext.c \ 
     
    681641buffer.c \ 
    682642table.h \ 
    683 table-protected.h \ 
    684643table.c \ 
    685 dict.h \ 
    686 dict.c \ 
    687644buffer_escape.h \ 
    688645buffer_escape.c \ 
     
    713670header-protected.h \ 
    714671header.c \ 
    715 session_cache.h \ 
    716 session_cache.c \ 
    717672access.h \ 
    718673access.c \ 
     
    758713 
    759714libcherokee_server_la_SOURCES = \ 
    760 icons_grammar.y \ 
    761 icons_scanner.l \ 
    762 \ 
    763 $(static_module_read_config_src) \ 
    764715$(static_handler_file_src) \ 
    765716$(static_handler_admin_src) \ 
     
    797748config_entry.h \ 
    798749config_entry.c \ 
     750virtual_entries.h \ 
     751virtual_entries.c \ 
    799752dirs_table.h \ 
    800753dirs_table.c \ 
     
    859812mime_entry.h \ 
    860813list.h \ 
    861 list_merge_sort.h \ 
    862814url.h \ 
    863815header.h \ 
     
    880832 
    881833 
    882 # automake isn't too clever about "non-standard" use of lex and yacc 
    883 # Icons: 
    884 icons_scanner.c : icons_scanner.l 
    885         $(LEX) -Pyy_icons_ -i -o$@ $< 
    886  
    887 icons_grammar.h : icons_grammar.c 
    888 icons_grammar.c : icons_grammar.y 
    889         $(YACC) -dv -p yy_icons_ -o $@ $< 
    890  
    891  
    892834# 
    893835# Cherokee plugins 
     
    895837plugindir = "$(libdir)/cherokee" 
    896838plugin_LTLIBRARIES = \ 
    897 $(dynamic_module_read_config_lib) \ 
    898839$(dynamic_handler_cgi_lib) \ 
    899840$(dynamic_handler_phpcgi_lib) \ 
     
    959900 
    960901CLEANFILES = \ 
    961 read_config_grammar.h \ 
    962 read_config_grammar.c \ 
    963 read_config_scanner.c \ 
    964 icons_grammar.h \ 
    965 icons_grammar.c \ 
    966 icons_scanner.c \ 
    967902config.h 
    968903 
     
    989924$(WINDOWS_PORT_FILES) \ 
    990925$(EMBEDDED_VERSION_FILES) \ 
    991 read_config_grammar.h \ 
    992926loader.autoconf.h \ 
    993927loader.autoconf.inc 
  • cherokee/trunk/cherokee/access.c

    r122 r269  
    6565 
    6666typedef struct { 
    67         struct list_head node; 
     67        list_t    node; 
    6868         
    6969        ip_type_t type; 
  • cherokee/trunk/cherokee/admin_server.c

    r122 r269  
    147147cherokee_admin_server_reply_get_connections (cherokee_handler_admin_t *ahdl, cherokee_buffer_t *question, cherokee_buffer_t *reply) 
    148148{ 
    149         ret_t                       ret; 
    150         list_t                     *i, *tmp; 
    151         cherokee_server_t          *server = HANDLER_SRV(ahdl); 
    152         LIST_HEAD(connections); 
     149        ret_t               ret; 
     150        list_t             *i, *tmp; 
     151        list_t              connections = LIST_HEAD_INIT(connections); 
     152        cherokee_server_t  *server      = HANDLER_SRV(ahdl); 
    153153 
    154154        /* Get the connection info list 
  • cherokee/trunk/cherokee/buffer.c

    r234 r269  
    104104} 
    105105 
    106  
    107106void 
    108107cherokee_buffer_swap_buffers (cherokee_buffer_t *buf, cherokee_buffer_t *second) 
     
    123122        second->len = tmp_len; 
    124123        second->size = tmp_size; 
     124} 
     125 
     126ret_t  
     127cherokee_buffer_dup (cherokee_buffer_t *buf, cherokee_buffer_t **dup) 
     128{ 
     129        CHEROKEE_NEW_STRUCT(n, buffer); 
     130 
     131        n->buf = (char *) malloc(buf->len + 1); 
     132        if (unlikely(n->buf == NULL)) return ret_nomem; 
     133 
     134        memcpy (n->buf, buf->buf, buf->len + 1); 
     135 
     136        n->len  = buf->len; 
     137        n->size = buf->len + 1; 
     138 
     139        *dup = n; 
     140        return ret_ok; 
    125141} 
    126142 
  • cherokee/trunk/cherokee/buffer.h

    r122 r269  
    5858 
    5959 
    60  
    61  
    6260ret_t cherokee_buffer_new                (cherokee_buffer_t **buf); 
    6361ret_t cherokee_buffer_free               (cherokee_buffer_t  *buf); 
    6462ret_t cherokee_buffer_clean              (cherokee_buffer_t  *buf); 
     63ret_t cherokee_buffer_dup                (cherokee_buffer_t  *buf, cherokee_buffer_t **dup); 
    6564 
    6665ret_t cherokee_buffer_init               (cherokee_buffer_t  *buf); 
  • cherokee/trunk/cherokee/cherokee.h

    r257 r269  
    4040#include <cherokee/mime_entry.h> 
    4141#include <cherokee/mime.h> 
    42 #include <cherokee/list.h> 
    43 #include <cherokee/list_merge_sort.h> 
    4442#include <cherokee/url.h> 
    4543#include <cherokee/header.h> 
  • cherokee/trunk/cherokee/cherokee_show.c

    r257 r269  
    4747        cuint_t                     port; 
    4848        cherokee_buffer_t           buf; 
    49         LIST_HEAD(conns); 
     49        list_t                      conns = LIST_HEAD_INIT(conns); 
    5050 
    5151        if (argc <= 1) { 
  • cherokee/trunk/cherokee/config_entry.c

    r155 r269  
    5959        entry->validator_new_func   = NULL; 
    6060        entry->validator_properties = NULL; 
     61        entry->auth_realm           = NULL; 
    6162 
    6263        entry->access               = NULL; 
     
    6566 
    6667        entry->document_root        = NULL; 
    67         entry->auth_realm           = NULL; 
    6868        entry->users                = NULL; 
    6969 
     
    9797        if (entry->auth_realm != NULL) { 
    9898                cherokee_buffer_free (entry->auth_realm); 
    99                 entry->auth_realm = NULL; 
     99                entry->document_root = NULL; 
    100100        } 
    101101 
     
    104104                entry->users = NULL; 
    105105        } 
     106 
    106107 
    107108        free (entry); 
     
    259260        return ret_ok; 
    260261} 
     262 
     263 
     264ret_t  
     265cherokee_config_entry_print (cherokee_config_entry_t *entry) 
     266{ 
     267        printf ("parent:                    %p\n", entry->parent); 
     268        printf ("priority:                  %d\n", entry->priority); 
     269        printf ("document_root:             %s\n", entry->document_root ? entry->document_root->buf : ""); 
     270        printf ("only_secure:               %d\n", entry->only_secure); 
     271        printf ("access:                    %p\n", entry->access); 
     272        printf ("handler_new                %p\n", entry->handler_new_func); 
     273        printf ("http_met