Changeset 1771
- Timestamp:
- 08/07/08 23:04:10 (4 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (5 diffs)
- cherokee/trunk/cherokee-guardian.1 (modified) (1 diff)
- cherokee/trunk/cherokee/main_guardian.c (modified) (6 diffs)
- cherokee/trunk/doc/Makefile.am (modified) (1 diff)
- cherokee/trunk/doc/TOC.txt (modified) (2 diffs)
- cherokee/trunk/doc/config_quickstart.txt (modified) (4 diffs)
- cherokee/trunk/doc/modules_balancers.txt (added)
- cherokee/trunk/doc/modules_balancers_round_robin.txt (modified) (1 diff)
- cherokee/trunk/doc/modules_encoders.txt (added)
- cherokee/trunk/doc/modules_encoders_deflate.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1770 r1771 1 2008-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 1 22 2008-08-07 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 23 3 24 * cherokee/main.c, cherokee/main_guardian.c, 4 25 cherokee/server-protected.h, cherokee/server.c, cherokee/server.h: 5 Implement gratefullyrestart (aka: from now on, you can upgrade26 Implemented graceful restart (aka: from now on, you can upgrade 6 27 your Cherokee binary without killing the existing connections). 7 28 … … 21 42 22 43 * cherokee/server.c (cherokee_server_new): timeout is 5 seconds 23 now. That should be more th en enough for the average case.44 now. That should be more than enough for the average case. 24 45 25 46 * cherokee/macros.h, cherokee/socket.c, cherokee/thread.c, … … 8650 8671 8651 8672 * ChangeLog: Fixed a typo in my name ;-) 8652 8673 8653 8674 * cherokee/Makefile.am: Changed a GNU specific rule to a GNU/BSD 8654 8675 compatible rule … … 8864 8885 * src/buffer_escape.c (cherokee_buffer_escape_free): 8865 8886 Bugfix. s/esc->internal/esc->internal[i]/ 8866 8887 8867 8888 * src/read_config_scanner.l, src/read_config_grammar.y: Added new 8868 8889 configuration entry "MaxConnReuse" to set the max number of … … 8892 8913 before deinit the TLS connection. It tries to fix a segmentation 8893 8914 fault detected at the production server. 8894 8915 8895 8916 8896 8917 2004-11-04 Alvaro Lopez Ortega <alvaro@alobbs.com> cherokee/trunk/cherokee-guardian.1
r1724 r1771 31 31 .B cherokee\-guardian 32 32 .SH DESCRIPTION 33 \fB cherokee\fP is an extremely fast, flexible and embeddable web33 \fBCherokee\fP is an extremely fast, flexible and embeddable web 34 34 server. \fBcherokee\-guardian\fP is the recommended way to invoke 35 35 cherokee - It will launch Cherokee with any options specified to it cherokee/trunk/cherokee/main_guardian.c
r1770 r1771 42 42 43 43 pid_t pid; 44 cherokee_boolean_t gra teful_restart;44 cherokee_boolean_t graceful_restart; 45 45 46 46 static void … … 89 89 break; 90 90 else if (errno == EINTR) 91 if (gra teful_restart)91 if (graceful_restart) 92 92 break; 93 93 else … … 129 129 130 130 case SIGHUP: 131 /* Gra teful restart */132 gra teful_restart = true;131 /* Graceful restart */ 132 graceful_restart = true; 133 133 kill (pid, SIGHUP); 134 134 break; … … 245 245 cherokee_boolean_t single_time; 246 246 247 set_guardian_signals(); 247 set_guardian_signals(); 248 248 single_time = is_single_execution (argc, argv); 249 249 … … 254 254 pid_file_save (PID_FILE, getpid()); 255 255 } 256 256 257 257 while (true) { 258 gra teful_restart = false;258 graceful_restart = false; 259 259 260 260 pid = process_launch (CHEROKEE_SRV_PATH, argv); … … 263 263 exit (1); 264 264 } 265 265 266 266 ret = process_wait (pid); 267 267 if (single_time) cherokee/trunk/doc/Makefile.am
r1765 r1771 46 46 cookbook_ssl.html \ 47 47 modules.html \ 48 modules_balancers.html \ 48 49 modules_balancers_round_robin.html \ 50 modules_encoders.html \ 49 51 modules_encoders_gzip.html \ 50 52 modules_encoders_deflate.html \ cherokee/trunk/doc/TOC.txt
r1767 r1771 40 40 ********************************* 41 41 42 //// 42 ///// 43 43 Reference table <8> link:cookbook_reference.html[] 44 44 Optimizing Cherokee <2> link:cookbook_optimizing_cherokee.html[] 45 //// 45 ///// 46 46 47 47 . link:cookbook_cross_compilation.html[Cross compilation] … … 61 61 ********************************* 62 62 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] 63 68 //// 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]69 69 Handlers link:modules_handlers.html[] 70 70 List & Send [18] link:modules_handlers_common.html[] cherokee/trunk/doc/config_quickstart.txt
r1767 r1771 15 15 Overview 16 16 ~~~~~~~~ 17 * link:config_general.html[General]: :17 * link:config_general.html[General]: 18 18 There are a number of entries that specify the most significant 19 19 configuration options such as the port - or ports - that the server … … 21 21 connections and so on. 22 22 23 * link:config_virtual_servers.html[Virtual servers]: :23 * link:config_virtual_servers.html[Virtual servers]: 24 24 If you want your web server to work with more than one domain you 25 25 will have to create link:config_virtual_servers.html[Virtual … … 28 28 facilities, etc. 29 29 30 * link:config_encoding.html[Encoding]: :30 * link:config_encoding.html[Encoding]: 31 31 The encoders allow to transform whatever information the server is 32 32 sending as a response of a request, no matter what handler is 33 33 generating it. 34 34 35 * link:config_icons.html[Icons]: :35 * link:config_icons.html[Icons]: 36 36 Associate icon images with one or more file extensions. Used to 37 37 offer directory listings. 38 38 39 * link:config_mime_types.html[Mime Types]: :39 * link:config_mime_types.html[Mime Types]: 40 40 Manage MIME types. 41 41 42 * link:config_advanced.html[Advanced]: :42 * link:config_advanced.html[Advanced]: 43 43 This is to configure the most complex parameters of the server and how 44 44 it interacts with the operating system. If you are unsure about any of … … 104 104 105 105 This is what the `General` tab looks like: 106 106 107 image::media/images/admin_general.png[General] 107 108 cherokee/trunk/doc/modules_balancers_round_robin.txt
r1647 r1771 2 2 --------------------- 3 3 4 Each Server parameter accepts these sub-parameters: 4 If multiple server entries are defined, the requests will be round-robinly 5 served by each of them. 5 6 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. 7 The configurable parameters will vary depending on what has been 8 selected as information host. If it is set to *remote*, only a host 9 address will be required. If that is not the case then configurable 10 parameters will be: 11 11 12 * Env variable:value pair: Set an environment variable for the FastCGI servers.12 * Host: Either a local or remote host and port. 13 13 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. 14 17 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 17 17 web browser will lack this, but since more than one encoder can be 18 18 offered simultaneously by Cherokee you have the choice to add or not 19 `deflate` support.19 the support for `deflate`.