Changeset 1771

Show
Ignore:
Timestamp:
08/07/08 23:04:10 (4 months ago)
Author:
taher
Message:

--

Files:

Legend:

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

    r1770 r1771  
     12008-08-07  Taher Shihadeh <taher@unixwars.com> 
     2 
     3        * cherokee-guardian.1, doc/basics_installation.txt, 
     4        doc/basics_installation_windows.txt, doc/basics.txt, 
     5        doc/basics_upgrade.txt, doc/build/chunked_template.conf, 
     6        doc/bundle_cget.txt, doc/bundle_cherokee-admin.txt, 
     7        doc/bundle_cherokee-config.txt, doc/bundle_cherokee-guardian.txt, 
     8        doc/bundle_cherokee-tweak.txt, doc/bundle_cherokee.txt, 
     9        doc/bundle.txt, doc/config_encoding.txt, 
     10        doc/config_quickstart.txt, doc/config.txt, 
     11        doc/config_virtual_servers_rule.txt, 
     12        doc/config_virtual_servers.txt, doc/cookbook.txt, 
     13        doc/dev_cherokee.conf.txt, doc/dev_debug.txt, doc/dev.txt, 
     14        doc/media/css/cherokee_doc.css, 
     15        doc/modules_balancers_round_robin.txt, doc/modules_balancers.txt, 
     16        doc/modules_encoders_deflate.txt, doc/modules_encoders.txt, 
     17        doc/modules.txt, doc/TOC.txt: editions to and several new file 
     18        additions. Documentation looks better now. Still lots of work to 
     19        do. 
     20 
     21 
    1222008-08-07  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
    223 
    324        * cherokee/main.c, cherokee/main_guardian.c, 
    425        cherokee/server-protected.h, cherokee/server.c, cherokee/server.h: 
    5         Implement gratefully restart (aka: from now on, you can upgrade 
     26        Implemented graceful restart (aka: from now on, you can upgrade 
    627        your Cherokee binary without killing the existing connections). 
    728 
     
    2142 
    2243        * cherokee/server.c (cherokee_server_new): timeout is 5 seconds 
    23         now. That should be more then enough for the average case. 
     44        now. That should be more than enough for the average case. 
    2445 
    2546        * cherokee/macros.h, cherokee/socket.c, cherokee/thread.c, 
     
    86508671 
    86518672        * ChangeLog: Fixed a typo in my name ;-) 
    8652        
     8673 
    86538674        * cherokee/Makefile.am: Changed a GNU specific rule to a GNU/BSD 
    86548675        compatible rule 
     
    88648885        * src/buffer_escape.c (cherokee_buffer_escape_free): 
    88658886        Bugfix. s/esc->internal/esc->internal[i]/ 
    8866          
     8887 
    88678888        * src/read_config_scanner.l, src/read_config_grammar.y: Added new 
    88688889        configuration entry "MaxConnReuse" to set the max number of 
     
    88928913        before deinit the TLS connection. It tries to fix a segmentation 
    88938914        fault detected at the production server. 
    8894          
     8915 
    88958916 
    889689172004-11-04  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
  • cherokee/trunk/cherokee-guardian.1

    r1724 r1771  
    3131.B cherokee\-guardian 
    3232.SH DESCRIPTION 
    33 \fBcherokee\fP is an extremely fast, flexible and embeddable web 
     33\fBCherokee\fP is an extremely fast, flexible and embeddable web 
    3434server.  \fBcherokee\-guardian\fP is the recommended way to invoke 
    3535cherokee - It will launch Cherokee with any options specified to it 
  • cherokee/trunk/cherokee/main_guardian.c

    r1770 r1771  
    4242 
    4343pid_t              pid; 
    44 cherokee_boolean_t grateful_restart;  
     44cherokee_boolean_t graceful_restart;  
    4545 
    4646static void 
     
    8989                        break; 
    9090                else if (errno == EINTR)  
    91                         if (grateful_restart) 
     91                        if (graceful_restart) 
    9292                                break; 
    9393                        else 
     
    129129 
    130130        case SIGHUP: 
    131                 /* Grateful restart */ 
    132                 grateful_restart = true; 
     131                /* Graceful restart */ 
     132                graceful_restart = true; 
    133133                kill (pid, SIGHUP); 
    134134                break; 
     
    245245        cherokee_boolean_t single_time; 
    246246 
    247         set_guardian_signals();            
     247        set_guardian_signals(); 
    248248        single_time = is_single_execution (argc, argv); 
    249249 
     
    254254                pid_file_save (PID_FILE, getpid()); 
    255255        } 
    256          
     256 
    257257        while (true) { 
    258                 grateful_restart = false; 
     258                graceful_restart = false; 
    259259 
    260260                pid = process_launch (CHEROKEE_SRV_PATH, argv); 
     
    263263                        exit (1); 
    264264                } 
    265                  
     265 
    266266                ret = process_wait (pid); 
    267267                if (single_time) 
  • cherokee/trunk/doc/Makefile.am

    r1765 r1771  
    4646cookbook_ssl.html \ 
    4747modules.html \ 
     48modules_balancers.html \ 
    4849modules_balancers_round_robin.html \ 
     50modules_encoders.html \ 
    4951modules_encoders_gzip.html \ 
    5052modules_encoders_deflate.html \ 
  • cherokee/trunk/doc/TOC.txt

    r1767 r1771  
    4040********************************* 
    4141 
    42 //// 
     42///// 
    4343  Reference table     <8>       link:cookbook_reference.html[] 
    4444  Optimizing Cherokee <2>       link:cookbook_optimizing_cherokee.html[] 
    45 //// 
     45///// 
    4646 
    4747  . link:cookbook_cross_compilation.html[Cross compilation] 
     
    6161********************************* 
    6262 
     63  . link:modules_balancers.html[Balancers] 
     64    - link:modules_balancers_round_robin.html[Round robin] 
     65  . link:modules_encoders.html[Encoders] 
     66    - link:modules_encoders_gzip.html[gzip] 
     67    - link:modules_encoders_deflate.html[deflate] 
    6368//// 
    64   Balancers                     link:modules_balancers.html[] 
    65     Round robin        [24]     link:modules_balancers_round_robin.html[] 
    66   Encoders                      link:modules_encoders.html[] 
    67     link:modules_encoders_gzip.html[gzip] 
    68     link:modules_encoders_deflate.html[deflate] 
    6969  Handlers                      link:modules_handlers.html[] 
    7070    List & Send        [18]     link:modules_handlers_common.html[] 
  • cherokee/trunk/doc/config_quickstart.txt

    r1767 r1771  
    1515Overview 
    1616~~~~~~~~ 
    17 * link:config_general.html[General]:: 
     17* link:config_general.html[General]: 
    1818  There are a number of entries that specify the most significant 
    1919  configuration options such as the port - or ports - that the server 
     
    2121  connections and so on. 
    2222 
    23 * link:config_virtual_servers.html[Virtual servers]:: 
     23* link:config_virtual_servers.html[Virtual servers]: 
    2424  If you want your web server to work with more than one domain you 
    2525  will have to create link:config_virtual_servers.html[Virtual 
     
    2828  facilities, etc. 
    2929 
    30 * link:config_encoding.html[Encoding]:: 
     30* link:config_encoding.html[Encoding]: 
    3131  The encoders allow to transform whatever information the server is 
    3232  sending as a response of a request, no matter what handler is 
    3333  generating it. 
    3434 
    35 * link:config_icons.html[Icons]:: 
     35* link:config_icons.html[Icons]: 
    3636  Associate icon images with one or more file extensions. Used to 
    3737  offer directory listings. 
    3838 
    39 * link:config_mime_types.html[Mime Types]:: 
     39* link:config_mime_types.html[Mime Types]: 
    4040  Manage MIME types. 
    4141 
    42 * link:config_advanced.html[Advanced]:: 
     42* link:config_advanced.html[Advanced]: 
    4343  This is to configure the most complex parameters of the server and how 
    4444  it interacts with the operating system. If you are unsure about any of 
     
    104104 
    105105This is what the `General` tab looks like: 
     106 
    106107image::media/images/admin_general.png[General] 
    107108 
  • cherokee/trunk/doc/modules_balancers_round_robin.txt

    r1647 r1771  
    22--------------------- 
    33 
    4 Each Server parameter accepts these sub-parameters: 
     4If multiple server entries are defined, the requests will be round-robinly 
     5served by each of them. 
    56 
    6 * Interpreter: Defines the command line of the interpreter for this  
    7 server. This sub-parameter only available for FastCGI servers which are  
    8 running in the same computer with the webserver. The webserver will try to run  
    9 the command line if it fails to connect to the specified address in Server  
    10 parameter. If you run the FastCGI servers manually, this sub-parameter is not needed. 
     7The configurable parameters will vary depending on what has been 
     8selected as information host. If it is set to *remote*, only a host 
     9address will be required. If that is not the case then configurable 
     10parameters will be: 
    1111 
    12 * Env variable:value pair: Set an environment variable for the FastCGI servers.  
     12* Host: Either a local or remote host and port. 
    1313 
     14* Interpreter: Defines the command line of the interpreter for this 
     15  server. If you are using FastCGI or SCGI and are launching the 
     16  services manually, this entry is not needed. 
    1417 
    15 If multiple Server entries defined, the requests will be round-robinly served by  
    16 each of Server entry. 
     18* Environment variables: When running in local host, you can set up 
     19  environment variables to be used by whatever is serving your 
     20  load-balanced requests. 
  • cherokee/trunk/doc/modules_encoders_deflate.txt

    r1740 r1771  
    1717web browser will lack this, but since more than one encoder can be 
    1818offered simultaneously by Cherokee you have the choice to add or not 
    19 `deflate` support
     19the support for `deflate`