Changeset 2206
- Timestamp:
- 23/10/08 20:20:41 (1 year ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (20 diffs)
- cherokee/trunk/admin/ModuleBalancer.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r2205 r2206 1 2008-10-23 Antonio Perez <aperez@skarcha.com> 2 3 * admin/ModuleBalancer.py: Fixes auto-submit error assigning 4 Information Sources. Bug #153: 5 http://code.google.com/p/cherokee/issues/detail?id=153 6 1 7 2008-10-23 Taher Shihadeh <taher@unixwars.com> 2 8 … … 688 694 689 695 * admin/PageGeneral.py (PageGeneral._render_content): Fixes de TLS 690 port configuration key. Reported by C ésar Fernández Gago696 port configuration key. Reported by Cᅵsar Fernᅵndez Gago 691 697 <cesar@pk2.org> 692 698 … … 6094 6100 cherokee_replace is obsolete. Now we simply use sed to replace a 6095 6101 few string in the example configuration file. Fixes #124. Patch 6096 by Diego "Flameeyes" Petten ò<flameeyes@gentoo.org>.6102 by Diego "Flameeyes" Pettenᅵ <flameeyes@gentoo.org>. 6097 6103 6098 6104 * cherokee/access.c (cherokee_access_add_domain): Updated to fit … … 8290 8296 * autogen.sh (LIBTOOL, LIBTOOLIZE): Define two variables for the 8291 8297 name of these utilities. MacOS X has a different name for it. 8292 Patch by S ébastien Arnaud <arnaudsjr@mac.com>8298 Patch by Sᅵbastien Arnaud <arnaudsjr@mac.com> 8293 8299 8294 8300 2005-10-26 Alvaro Lopez Ortega <alvaro@alobbs.com> … … 8880 8886 8881 8887 * cherokee/handler_file.c, cherokee/header.c: Changed header 8882 "Content-Range" by "Range". Based on a path by Daniel Gl öckner8888 "Content-Range" by "Range". Based on a path by Daniel Glᅵckner 8883 8889 <daniel-gl@gmx.net> 8884 8890 … … 9602 9608 9603 9609 * cherokee/socket.c (cherokee_read): Added support for the 9604 «Connection timed out»error.9610 ᅵConnection timed outᅵ error. 9605 9611 9606 9612 2005-03-17 Lidia Fernandez Gago <lidia@alobbs.com> … … 9919 9925 9920 9926 9921 2005-12-31 Ayose Cazorla Le ón <setepo@gulic.org>9927 2005-12-31 Ayose Cazorla Leᅵn <setepo@gulic.org> 9922 9928 9923 9929 * cherokee/handler_redirc, cherokee/handler_redir.c: … … 9937 9943 9938 9944 9939 2004-12-26 Ayose Cazorla Le ón <setepo@gulic.org>9945 2004-12-26 Ayose Cazorla Leᅵn <setepo@gulic.org> 9940 9946 9941 9947 * cherokee/handler_cgi.c, cherokee/handler_error.c, … … 10070 10076 10071 10077 * src/connection.c (cherokee_connection_get_request): It returns 10072 411 «Length required»error on POST without length.10078 411 ᅵLength requiredᅵ error on POST without length. 10073 10079 10074 10080 … … 10110 10116 10111 10117 * src/http.h, src/connection.h, src/connection.c, src/thread.h, 10112 src/thread.c: Implemented RFC2817: «Upgrading to TLS Within10113 HTTP/1.1 »:-)10118 src/thread.c: Implemented RFC2817: ᅵUpgrading to TLS Within 10119 HTTP/1.1ᅵ :-) 10114 10120 10115 10121 … … 10180 10186 10181 10187 * src/read_config_grammar.y: Added 'directory_option' to implement 10182 the «Only secure access»feature.10188 the ᅵOnly secure accessᅵ feature. 10183 10189 10184 10190 * src/read_config_scanner.l: Added T_ONLY_SECURE token … … 10216 10222 2004-09-26 Alvaro Lopez Ortega <alvaro@alobbs.com> 10217 10223 10218 * icons/iso.png, icons.conf.sample, icons/Makefile.am: Added «ISO10219 Image »icon.10224 * icons/iso.png, icons.conf.sample, icons/Makefile.am: Added ᅵISO 10225 Imageᅵ icon. 10220 10226 10221 10227 * src/handler_cgi.c (_set_envs_cgi): index() -> strchr() … … 10386 10392 10387 10393 * configure.in: Added check for gethostbyname, gethostbyname_r 10388 functions. (Arequipa ~ Per ú)10394 functions. (Arequipa ~ Perᅵ) 10389 10395 10390 10396 … … 10392 10398 10393 10399 * src/socket.c (cherokee_socket_set_client): Added new method. 10394 (XII CONEIS, Lima ~ Per ú)10400 (XII CONEIS, Lima ~ Perᅵ) 10395 10401 10396 10402 … … 11184 11190 11185 11191 11186 2004-04-11 Ayose Cazorla Le ón <setepo@gulic.org>11192 2004-04-11 Ayose Cazorla Leᅵn <setepo@gulic.org> 11187 11193 11188 11194 * src/handler_cgi.c: Partial fix for the zombies CGIs … … 11565 11571 11566 11572 * src/common.h: Fixed inclusion of stdint.h 11567 It didn't compile in Solaris 9. Fixed by Iv án Chavero.11573 It didn't compile in Solaris 9. Fixed by Ivᅵn Chavero. 11568 11574 11569 11575 … … 11814 11820 11815 11821 11816 2004-01-08 Ayose Cazorla Le ón <setepo@gulic.org>11822 2004-01-08 Ayose Cazorla Leᅵn <setepo@gulic.org> 11817 11823 11818 11824 * src/handler_cgi.c: Fixed <defunct> processes. … … 12241 12247 12242 12248 12243 2003-11-24 Ayose Cazorla Le ón <setepo@gulic.org>12249 2003-11-24 Ayose Cazorla Leᅵn <setepo@gulic.org> 12244 12250 12245 12251 * src/connection.c,http.h: Added http_moved_temporarily … … 12277 12283 12278 12284 12279 2003-11-23 Ayose Cazorla Le ón <setepo@gulic.org>12285 2003-11-23 Ayose Cazorla Leᅵn <setepo@gulic.org> 12280 12286 12281 12287 * src/handler_cgi.c: Use the cherokee_header API for set … … 12925 12931 12926 12932 12927 2003-07-20 Ayose Cazorla Le ón <setepo@gulic.org>12933 2003-07-20 Ayose Cazorla Leᅵn <setepo@gulic.org> 12928 12934 12929 12935 * cherokee.conf.sample.in: Directory entry for cgi-bin cherokee/trunk/admin/ModuleBalancer.py
r2205 r2206 15 15 16 16 def _op_render (self): 17 new_balancer_node = self._cfg.get_val("tmp!new_balancer_node") 18 if new_balancer_node: 19 tmp = [int(x) for x in self._cfg.keys('%s!source'%(self._prefix))] 20 tmp.sort() 21 22 if tmp: 23 new_source = str(tmp[-1]+1) 24 else: 25 new_source = 1 26 27 self._cfg['%s!source!%s'%(self._prefix, new_source)] = new_balancer_node 28 del (self._cfg['tmp!new_balancer_node']) 29 17 30 txt = '' 18 31 general_sources = self._cfg.keys('source') … … 63 76 table = TableProps() 64 77 self.AddPropOptions_Reload (table, "Application Server", 65 " new_balancer_node", options, "")78 "tmp!new_balancer_node", options, "") 66 79 txt += str(table) 67 80 68 81 return txt 69 70 def _op_apply_changes (self, uri, post):71 new_balancer_node = post.pop('new_balancer_node')72 if new_balancer_node:73 tmp = [int(x) for x in self._cfg.keys('%s!source'%(self._prefix))]74 tmp.sort()75 76 if tmp:77 new_source = str(tmp[-1]+1)78 else:79 new_source = 180 81 self._cfg['%s!source!%s'%(self._prefix, new_source)] = new_balancer_node