Changeset 868
- Timestamp:
- 07/31/07 10:01:29 (1 year ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (70 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r867 r868 4241 4241 HeaderFile parameter. It will use the first match as header. 4242 4242 4243 * cherokee/fdpoll-kqueue.c: Performance fix: it d uplicates the4243 * cherokee/fdpoll-kqueue.c: Performance fix: it doubles the 4244 4244 speed of the kqueue backend! Patch by Rodrigo Fernandez-Vizarra 4245 4245 <rfdzvizarra@yahoo.ie> … … 4262 4262 4263 4263 * cherokee/read_config_scanner.l, cherokee/read_config_grammar.y: 4264 "Include" reserved word removed. It is no tlonger needed.4264 "Include" reserved word removed. It is no longer needed. 4265 4265 4266 4266 * cherokee/module_read_config.c: Almost rewritten. The inclusions … … 4358 4358 2005-10-30 Alvaro Lopez Ortega <alvaro@alobbs.com> 4359 4359 4360 * cherokee/handler_cgi.c (cherokee_handler_cgi_free): Bugfix, Only4361 close file descriptors if it is greeter than zero.4360 * cherokee/handler_cgi.c (cherokee_handler_cgi_free): Bugfix, 4361 close file descriptors only if it is greater than zero. 4362 4362 4363 4363 * cherokee/socket.c (cherokee_socket_set_timeout): Removed call to … … 4366 4366 4367 4367 * cherokee/thread.c (purge_maybe_lingering, 4368 process_active_connections): Added a new function forpurge (and4368 process_active_connections): Added a new function to purge (and 4369 4369 maybe perform the lingering close) a connection from the active 4370 4370 connection list. The error management of the error situations of 4371 the loop call to purge_closed_connection instead of setthe4371 the loop call to purge_closed_connection instead of launching the 4372 4372 lingering close phase. 4373 4373 … … 4449 4449 4450 4450 * cherokee/thread.c (process_active_connections): Removed calls to 4451 cherokee_iocache_mmap_release(), it will be fre ed on4451 cherokee_iocache_mmap_release(), it will be fred on 4452 4452 cherokee_connection_clean(). It is safer in this way. 4453 4453 … … 4704 4704 * cherokee/handler_phpcgi.c (search_php_executable): Fixed to 4705 4705 search the interpreter if it is not defined with the "Interpreter" 4706 configuration entry. It will look for it on a couple of4707 directories for it..4706 configuration entry. It will look for it in a couple of 4707 directories. 4708 4708 4709 4709 * qa/93-InvalidLinks.py, qa/Makefile.am: Added a new QA to test 4710 the prev oius problem.4710 the previous problem. 4711 4711 4712 4712 * cherokee/handler_dirlist.c (generate_file_entry): Listing was … … 4802 4802 4803 4803 * cherokee/socket.c (cherokee_socket_close): Fixed a little which 4804 might cause a segment fault if a TLS connection get a CGI timeout.4804 might cause a segment fault if a TLS connection gets a CGI timeout. 4805 4805 4806 4806 2005-09-06 Alvaro Lopez Ortega <alvaro@alobbs.com> … … 5404 5404 5405 5405 * cherokee/fdpoll.c (cherokee_fdpoll_new): Now returns ret_no_sys 5406 instead of ret_error if it c ould instace the fdpoll object.5406 instead of ret_error if it can instance the fdpoll object. 5407 5407 5408 5408 * cherokee/socket.c (cherokee_socket_sendfile): Added … … 5440 5440 * cherokee/server.c: Some changes to make time updating more 5441 5441 consistent. There was a problem when a blocked thread became alive 5442 again and accept sa new connection. It was using the old time5442 again and accepted a new connection. It was using the old time 5443 5443 value, so the connection probably could be dropped in the next 5444 5444 server timeout checking. … … 6180 6180 and log.h. These files are not longer used. 6181 6181 6182 * src/handler_cgi.c (cherokee_handler_cgi_init): Drop ed O_ASYNC6182 * src/handler_cgi.c (cherokee_handler_cgi_init): Dropped O_ASYNC 6183 6183 from O_ASYNC|O_NDELAY|O_NONBLOCK. 6184 6184 … … 6637 6637 * src/connection.c 6638 6638 (cherokee_connection_send_response_page_hardcoded, 6639 cherokee_connection_send_response_page_file): Drop ed out! Now this6639 cherokee_connection_send_response_page_file): Dropped out! Now this 6640 6640 work is delegated to the internal error handler. Much more clean!! 6641 6641 … … 6680 6680 2004-07-03 Alvaro Lopez Ortega <alvaro@alobbs.com> 6681 6681 6682 * Makefile.am (install-data-local, uninstall-local): Added ednew6682 * Makefile.am (install-data-local, uninstall-local): Added new 6683 6683 rule to install cherokee-config.h 6684 6684 … … 6697 6697 6698 6698 * src/handler.h, src/handler.c (cherokee_handler_free_base): Added 6699 new vir utal method.6699 new virtual method. 6700 6700 6701 6701 * src/handler_file.c (file_init): _file_is_init now is … … 6740 6740 2004-06-20 Alvaro Lopez Ortega <alvaro@alobbs.com> 6741 6741 6742 * src/mime.c (cherokee_mime_free): Bugfix. It was free memory6742 * src/mime.c (cherokee_mime_free): Bugfix. It was freeing memory 6743 6743 twice. 6744 6744 … … 6750 6750 off_t 6751 6751 6752 * src/handler_cgi.c (_read_from_cgi): Some fixes ar round the CGI6752 * src/handler_cgi.c (_read_from_cgi): Some fixes around the CGI 6753 6753 termination. 6754 6754 … … 6774 6774 implementation error fixed. It is working now. 6775 6775 6776 * src/server.c (read_config_path): It did not build ingthe path6776 * src/server.c (read_config_path): It did not build the path 6777 6777 correctly. Fixed. 6778 6778 6779 * src/server.c(cherokee_server_init): I was not detecting the TLS6779 * src/server.c(cherokee_server_init): It was not detecting the TLS 6780 6780 configuration correctly. Fixed. 6781 6781 … … 6834 6834 * src/handler_remote_control.c 6835 6835 (cherokee_handler_remote_control_init): Fixed compilation warnings 6836 ar round the 64bits long files support.6836 around the 64bits long files support. 6837 6837 6838 6838 * src/handler_mono.c (send_headers_callback): Compilation fix. … … 6986 6986 Bugfix. It was comparing a string with a random memory chunk. 6987 6987 6988 * src/connection.c (build_response_header): Some work ar round the6988 * src/connection.c (build_response_header): Some work around the 6989 6989 "WWW-Authenticate" response header. 6990 6990 … … 7032 7032 * src/md5.c, src/md5.h: Clean up 7033 7033 7034 * src/Makefile.mingw: Some work ar round the Windows port.7034 * src/Makefile.mingw: Some work around the Windows port. 7035 7035 7036 7036 … … 7149 7149 7150 7150 * src/handler_dirlist.h, src/handler_dirlist.c 7151 (cherokee_handler_dirlist_step): Fixed problem when there were lot 7151 (cherokee_handler_dirlist_step): Fixed problem when there were lots 7152 7152 of files in the same directory. 7153 7153 … … 7158 7158 7159 7159 * src/logger_ncsa.c (build_log_string): Better logging without 7160 referer.7160 "referer". 7161 7161 7162 7162 * src/thread.c (process_active_connections): Tiny bugfix … … 7167 7167 * src/handler_dirlist.c (cherokee_handler_dirlist_step): Bugfix. 7168 7168 7169 * src/handler_dirlist.c (cherokee_handler_dirlist_step): I was an7170 error in the memory management when the server had not aloaded7171 icon table 7169 * src/handler_dirlist.c (cherokee_handler_dirlist_step): There was 7170 an error in the memory management when the server had not loaded 7171 icon table yet 7172 7172 7173 7173 * src/buffer.h, src/buffer.c (cherokee_buffer_is_endding): Added … … 7345 7345 7346 7346 * src/thread.c (cherokee_thread_step): Added new "don't block" 7347 parameter. The main thread should not block .. it have to another7348 works like flush the log files. It fixed a bug arround the log7349 bufferring.7347 parameter. The main thread should not block ... it has to do 7348 periodic jobs like flushing the log files, etc. 7349 This fixed a bug around the log buffering. 7350 7350 7351 7351 * src/http.c: Added new file and two new functions: … … 7355 7355 user ID support. 7356 7356 7357 * src/logger_ncsa.c: Little clean up. There w asunneeded macros.7357 * src/logger_ncsa.c: Little clean up. There were unneeded macros. 7358 7358 7359 7359 * src/read_config_grammar.y, src/read_config_scanner.l, … … 7393 7393 7394 7394 * src/handler_file.c (cherokee_handler_file_init): Better error 7395 handling creating the mmap object.7395 handling when creating the mmap object. 7396 7396 7397 7397 * cherokee.conf.sample.in: Gzip encoding section commented by … … 7400 7400 * configure.in: Fixed common handler compilation 7401 7401 7402 * src/Makefile.am (handler_common): Compilation orde nchanged to7402 * src/Makefile.am (handler_common): Compilation order changed to 7403 7403 ensure that the "handler common" can link with phpcgi, dirlist, 7404 7404 etc.. … … 7419 7419 It will help to compile in Solaris 7420 7420 7421 * src/sha1.h, src/sha1.c: Replaced u_int32_t by uint32_t. I was7422 not compiling in Solaris because it.7421 * src/sha1.h, src/sha1.c: Replaced u_int32_t by uint32_t. It was 7422 not compiling in Solaris because of it. 7423 7423 7424 7424 * src/socket.c (cherokee_socket_ntop): SunOS 5.9 compilation bug … … 7457 7457 * src/thread.c (cherokee_thread_new), src/read_config_scanner.l, 7458 7458 src/read_config_grammar.y, src/server.c, src/server.h: Added 7459 support for choos ethe scheduling policy from the config file7459 support for choosing the scheduling policy from the config file 7460 7460 7461 7461 … … 7540 7540 * configure.in: Fixed kqueue and select detection. 7541 7541 7542 * configure.in: Improved showof supported polling methods.7542 * configure.in: Improved visualization of supported polling methods. 7543 7543 7544 7544 * src/handler_cgi.c (cherokee_handler_cgi_init): Better error checking … … 7558 7558 7559 7559 * src/handler_file.c (cherokee_handler_file_init): Added check for 7560 partial petitions out of range.7560 partial requests out of range. 7561 7561 7562 7562 * src/http.h (http_not_modified_string), src/connection.c … … 7614 7614 network.http.pipelining parameter actived) 7615 7615 7616 * src/fdpoll.h, src/fdpoll.c: Drop ed out get_fd_limit(). Added7616 * src/fdpoll.h, src/fdpoll.c: Dropped out get_fd_limit(). Added 7617 7617 new parameter to the _new method. 7618 7618 … … 7633 7633 7634 7634 * src/validator_htpasswd.c: Added crypt_r emulation function for 7635 multithread systems that don't support it (like Solaris).7635 multithreaded systems that don't support it (like Solaris). 7636 7636 7637 7637 * src/header.c (cherokee_header_get_number, … … 7640 7640 * src/validator_htpasswd.c (validate_crypt): Little fix in crypt_r 7641 7641 usage. It was accessing a memory area in the heap that maybe 7642 could be drop ed out.7643 7644 * configure.in: Fixed compilation bug ar round -D_XOPEN_SOURCE=5007642 could be dropped out. 7643 7644 * configure.in: Fixed compilation bug around -D_XOPEN_SOURCE=500 7645 7645 parameter. 7646 7646 … … 7649 7649 * src/fdpoll.c: Better error reporting from epoll functions 7650 7650 7651 * src/server.c: Drop ed out add_socket_to_thread_fdpolls. With the7651 * src/server.c: Dropped out add_socket_to_thread_fdpolls. With the 7652 7652 new polling method it is not needed. Reported by Yusuf 7653 7653 Goolamabbas <yusufg@outblaze.com>. … … 7726 7726 2004-03-02 Alvaro Lopez Ortega <alvaro@alobbs.com> 7727 7727 7728 * src/handler_mono.c: More code ar round the Mono-Cherokee7728 * src/handler_mono.c: More code around the Mono-Cherokee 7729 7729 integration. 7730 7730 … … 7854 7854 * src/fdpoll.c: Added support for select() 7855 7855 7856 * src/poll_emu.c, src/poll_emu.h: Drop ed out!7856 * src/poll_emu.c, src/poll_emu.h: Dropped out! 7857 7857 7858 7858 * debian/copyright (Copyright): Removed poll_emu license. … … 7918 7918 7919 7919 * src/handler_file.c (cherokee_handler_file_add_headers): Switched 7920 from two call to cherokee_buffer_add() to one to7920 from two calls of cherokee_buffer_add() to one of 7921 7921 cherokee_buffer_add_va() 7922 7922 … … 7930 7930 2004-01-14 Alvaro Lopez Ortega <alvaro@alobbs.com> 7931 7931 7932 * src/thread.c: Big changes to improve multithread mode.7932 * src/thread.c: Big changes to improve multithreaded mode. 7933 7933 7934 7934 * src/thread.c: (set_sigpipe): Added SIGBUS … … 7978 7978 keep-alive management. 7979 7979 7980 * src/header.c (parse_first_line): Fixed bug in protocolorversion7980 * src/header.c (parse_first_line): Fixed bug in HTTP protocol version 7981 7981 detection code. 7982 7982 … … 8003 8003 changes to improve threaded mode. 8004 8004 8005 * src/read_config_grammar.y (thread_num): Drop ed out #ifdef8005 * src/read_config_grammar.y (thread_num): Dropped out #ifdef 8006 8006 HAVE_PTHREAD 8007 8007 8008 8008 * src/access.c (parse_netmask): Fixed /128 mask. 8009 8009 8010 * src/header.c (cherokee_header_parse): Fixed bug: it fails is8010 * src/header.c (cherokee_header_parse): Fixed bug: 8011 8011 HEADER_INTERNAL_DEBUG was not defined previously. 8012 8012 … … 8146 8146 8147 8147 * src/handler_common.c (cherokee_handler_common_new): There was a 8148 problem when it g et a request of a directory and it containsa8148 problem when it got a request for a directory and it contained a 8149 8149 index.php (included in DirectoryIndex conf entry) that should be 8150 8150 executed. Fixed. … … 8183 8183 8184 8184 * src/thread.c (process_active_connections): Fixed managing for 8185 HTTP 300 connections. It was running like it was a 200 8186 connection. 8185 HTTP 3xx responses. They were managed as HTTP 2xx responses. 8187 8186 8188 8187 … … 8198 8197 logging the HTTP 300 responses as error messages. 8199 8198 8200 * src/connection.c (cherokee_connection_parse_get_header): Drop ed8199 * src/connection.c (cherokee_connection_parse_get_header): Dropped 8201 8200 out. It was using the old header processing method. 8202 8201 … … 8225 8224 ==25427== at 0x402F349A: strtok (in /lib/libc-2.3.2.so) 8226 8225 8227 * src/buffer.c (cherokee_buffer_move_to_begin): Changed memcpy by8228 memmove to avoid possible memory overlap ing.8226 * src/buffer.c (cherokee_buffer_move_to_begin): Changed memcpy to 8227 memmove to avoid possible memory overlapping. 8229 8228 8230 8229 * src/header.c (HEADER_INTERNAL_CHECK): Added new check to ensure … … 8239 8238 8240 8239 * src/connection.c: cherokee_connection_parse_args() function now 8241 uses the ::get_arguments() method. Drop ed out the previous8240 uses the ::get_arguments() method. Dropped out the previous 8242 8241 implementation. 8243 8242 … … 8287 8286 8288 8287 * src/handler_server_info.c: Added data sent row. It shows the 8289 data amountwith the right suffix (Kb, Mb, Gb, Tb, ..)8288 amount of data with the right suffix (Kb, Mb, Gb, Tb, ..) 8290 8289 8291 8290 … … 8317 8316 8318 8317 * src/read_config_grammar.y (thread_number): Fixed problem with 8319 the thread number. Iwas an error when Cherokee was compiled8318 the thread number. There was an error when Cherokee was compiled 8320 8319 wihtout pthread library support. 8321 8320 … … 8367 8366 * src/read_config_grammar.y, connection.c, server.c, server.h, 8368 8367 thread.c, virtual_server.c, virtual_server.h: Added virtual 8369 servers aliases. Now, a virtual sever can ha smore than one8368 servers aliases. Now, a virtual sever can have more than one 8370 8369 domain server name. 8371 8370 … … 8445 8444 8446 8445 8447 2003-11-19 Alvaro Lopez Ortega <alvaro@alobbs.com>, Christopher Pruden <pruden@dyndns.org> 8446 2003-11-19 Alvaro Lopez Ortega <alvaro@alobbs.com>, 8447 Christopher Pruden <pruden@dyndns.org> 8448 8448 8449 8449 * src/Makefile.am, src/buffer.c, src/buffer.h, … … 8467 8467 8468 8468 * src/read_config_grammar.y, src/server.c: Added dynamic timeout 8469 support in theconnection headers.8469 support in connection headers. 8470 8470 8471 8471 * src/server.c (look_for_new_connection): Optimized connection … … 8474 8474 8475 8475 * src/common.h: Changed "#ifdef HAVE_PTHREADS" to "#ifdef 8476 HAVE_PTHREAD". It fixes lot of random crashes and race8476 HAVE_PTHREAD". It fixes lots of random crashes and race 8477 8477 conditions. 8478 8478 … … 8482 8482 * icons/*.png: Added 5 new icons. 8483 8483 8484 * icons.conf.sample: Added the new icons to the sample configuration file. 8484 * icons.conf.sample: Added the new icons to the sample configuration 8485 file. 8485 8486 8486 8487 … … 8526 8527 2003-10-29 Alvaro Lopez Ortega <alvaro@alobbs.com> 8527 8528 8528 * src/connection.c (get_uri): Bug fixed. There w asproblems with8529 * src/connection.c (get_uri): Bug fixed. There were problems with 8529 8530 some requests if it had complex referers. Reported by Thomas 8530 8531 Seifert. … … 8552 8553 entry. 8553 8554 8554 * src/server.h: port and port_ssl are now unsigned short instead int.8555 * src/server.h: port and port_ssl are now unsigned short instead of int. 8555 8556 8556 8557 … … 8564 8565 * src/handler_cgi.c, src/connection.c: CGI execution improvements. 8565 8566 8566 * cherokee.conf.sample.in: Commented ErrorDocument. It's unset by default. 8567 * cherokee.conf.sample.in: Commented ErrorDocument. 8568 It's unset by default. 8567 8569 8568 8570 * src/validator_htpasswd.c (cherokee_validator_htpasswd_check): … … 8578 8580 ("If-Modified-Since"). 8579 8581 8580 * src/tdate_parse.c, src/tdate_parse.h, src/Makefile.am: Added new files. 8582 * src/tdate_parse.c, src/tdate_parse.h, src/Makefile.am: Added 8583 new files. 8581 8584 8582 8585 * src/handler_file.c (cherokee_handler_file_add_headers): Added … … 8698 8701 * src/connection.c, src/connection.h, src/handler.c, src/handler.h, 8699 8702 src/handler_dirlist.c, src/handler_nn.c, src/handler_redir.c, 8700 src/module_loader.c, src/thread.c: Drop ed out handler->redirect,8703 src/module_loader.c, src/thread.c: Dropped out handler->redirect, 8701 8704 instead it uses conn->redirect. 8702 8705 … … 8806 8809 * src/server.c (cherokee_server_read_config_file): Now, it stores 8807 8810 the last configuration filename. Maybe the server will need it 8808 if receivea HUP signal.8811 if it receives a HUP signal. 8809 8812 (cherokee_server_read_config_file): Fixed reloading. There was 8810 8813 a bug reusing a Yacc+Lex parser. … … 8853 8856 * src/read_config_grammar.y, src/virtual_server.c, 8854 8857 srv/virtual_server.h. src/read_config_scanner.l: 8855 cherokee.conf.sample.in: Some work ar round the GNU/TLS support8858 cherokee.conf.sample.in: Some work around the GNU/TLS support 8856 8859 8857 8860 * doc/SSL-howto.html: Added u-Howto to manage SSL certs … … 8931 8934 8932 8935 * src/encoder_fixer.h, src/encoder_fixer.c, configure.in, 8933 src/Makefile.am: Encoder fixer drop ed out8936 src/Makefile.am: Encoder fixer dropped out 8934 8937 8935 8938 * src/server.c (cherokee_server_init), … … 9002 9005 * src/handler_common.c (cherokee_handler_common_new), 9003 9006 src/read_config_grammar.y, src/read_config_scanner.l: 9004 Added DirectoryIndex support. Based on the patch submit ed9007 Added DirectoryIndex support. Based on the patch submitted 9005 9008 by Pablo Neira <pneira@optimat.com> 9006 9009 … … 9119 9122 * src/connection.h: Removed "handler_file.h" inclusion 9120 9123 9121 * src/Makefile.am (libcherokeeinclude_HEADERS): Added some forgot en9124 * src/Makefile.am (libcherokeeinclude_HEADERS): Added some forgotten 9122 9125 header files 9123 9126 … … 9188 9191 9189 9192 * src/logger.[hc], src/logger_ncsa.[hc]: Added write_access and 9190 write_error method and removed the old w irte one.9193 write_error method and removed the old write one. 9191 9194 9192 9195 … … 9194 9197 9195 9198 * cherokee.spec.in: Updated. 9196 It ha vebeen tested in Red Hat 7.2, 8.0 and Mandrake 9.19199 It has been tested in Red Hat 7.2, 8.0 and Mandrake 9.1 9197 9200 9198 9201 … … 9230 9233 src/encoder_table.c, src/encoder_table.h, src/matching_list.c, 9231 9234 src/read_config_grammar.y: Added matching support in the encoders. 9232 The encoder+matching lists support werepartially rewritten.9235 The encoder+matching lists support have been partially rewritten. 9233 9236 9234 9237 … … 9247 9250 9248 9251 * src/connection.c (cherokee_connection_build_local_directory_userdir): 9249 Bugfix for userdir request that hasn't directory. Th isrequests are9252 Bugfix for userdir request that hasn't directory. These requests are 9250 9253 redirected to a slash-finished URL. Eg: 9251 9254 http://www.alobbs.com/~alo => http://www.alobbs.com/~alo/ … … 9258 9261 9259 9262 * src/buffer.c (cherokee_buffer_prepend): Added new method 9260 (cherokee_buffer_print_debug): New methos of debugging9263 (cherokee_buffer_print_debug): New debugging methods 9261 9264 9262 9265 … … 9283 9286 9284 9287 * Makefile.am, configure.in, cherokee.conf, cherokee.conf.in: 9285 Removed cherokee.conf. Added the new cherokee.conf.in for9286 manage the icon path at installation time9288 Removed cherokee.conf. Added the new cherokee.conf.in 9289 to manage the icon path at installation time 9287 9290 9288 9291 * configure.in, doc/Makefile.am, doc/es/Makefile.am: Added the … … 9321 9324 2003-05-31 Ramon Pons <rpons@rinu.org> 9322 9325 9323 * src/read_config.y: Compila rtion problem fixed9326 * src/read_config.y: Compilation problem fixed 9324 9327 9325 9328 … … 9491 9494 problem if there're any properties 9492 9495 9493 * configure.in: inet_pton and inet_addr detection work ar round9496 * configure.in: inet_pton and inet_addr detection work around 9494 9497 9495 9498 * src/server.c (process_active_connections): Fixed bug