2012-03-07 Michael Granger * tools/config_modules/postgresql.c: Set the encoding to iso-latin1 for config values. [50cbb6dc2afe] [tip] 2012-03-01 Michael Granger * tools/config_modules/Makefile, tools/config_modules/pgschema.sql, tools/config_modules/postgresql.c: Add the initial implementation of a PostgreSQL config module. [ea974a7eb090] 2012-02-29 Guillermo O. Freschi * Merge pull request #113 from dermoth/develop Develop - documentation fixes [e7074011f6fc] 2012-02-29 Thomas Guyot-Sionnest * docs/manual/inputs/make_deployment_directories.sh: Add a note about possible need for proc/ in chroot On some systems (apparently those using the system PGM library instead of the one bundled with ZeroMQ) mongrel2 will crash during zmq_init if /proc isn't accessible. Symptoms are being able to run mongrel2 as a normal used, but as soon as root is used and mongrel2 does a chroot, it will print the following warning and crash: Warn: Linux kernel reports no Time Stamp Counter (TSC). This issue has been reported in: https://github.com/zedshaw/mongrel2/issues/78 [a1e0f5b23695] * docs/manual/managing.tex: Add mention of the disable.access_logging setting [7c716c164b94] 2012-02-28 Jason Miller * examples/python/mongrel2/handler.py, examples/ws/python/echo.py, examples/ws/python/wsutil.py: Change websocket python API Make it more like the http&jssocket API [9f3144345fea] 2012-02-24 Jason Miller * Merge pull request #111 from typingArtist/develop 3 fixes for fixing races, reducing error log utilization and allowing more than 65535 connections [d1c8920aad0d] 2012-02-23 typingArtist * src/connection.c: Fix racey socket close to just a shutdown socket operation. This avoids file descriptor (fd) reuse of the OS while the other task is still expecting to be allowed to communicate with the socket under the old fd. [906b2722e501] * src/connection.c, src/register.c: Fix for superfluous close calls leading to nothing more than alot of log file entries. [fe1d5d48f64e] * src/register.c: Fix wrong ident (id) boundary check. ids can span the whole range of the type. [879eb48d8d47] * src/adt/radixmap.c: Fix radixmap blindly assuming that keys cannot alias after a wraparound [e73ce46751da] 2012-02-21 Jason Miller * examples/wschat/chat.py, examples/wschat/idiots, examples/wschat/static/960.css, examples/wschat/static/app.js, examples/wschat/static/chat.js, examples/wschat/static/flash/JsSocket.hx, examples/wschat/static/flash/Makefile, examples/wschat/static/flash/jsSocket.as, examples/wschat/static/flash/jsSocket.swf, examples/wschat/static/flash/jsSocket2.swf, examples/wschat/static/fsm.js, examples/wschat/static/index.html, examples/wschat/static/index2.html, examples/wschat/static/js/jsSocket.js, examples/wschat/static/js/jsonStringify.js, examples/wschat/static/reset.css, examples/wschat/static/site.css, examples/wschat/static/stuff.js, examples/wschat/static/text.css, examples/wschat/static/ws.py, examples/wschat/www.py, src/connection.c, src/handler.c, src/io.c, src/io.h, tests/io_tests.c: Merge branch 'websockets-devel' into develop [c6f26773da5b] 2012-02-17 Guillermo O. Freschi * Merge pull request #108 from ralphbean/develop Ignoring tools/procer/procer [2098ecf0e4d9] 2012-02-17 Ralph Bean * .gitignore: Ignoring tools/procer/procer It's a product of the build process and as such shouldn't be included in git. [ed53065eda7b] 2012-02-16 Jason Miller * src/register.c: Unregister the fd, even when there is an SSL error Previously we skipped unregistering in the event of an SSL error, but we still freed the IOBuf. This lead to heap corruption. [ba1e05af1002] 2012-02-15 Jason Miller * src/io.c: Remove some debug cruft [766e2dea1911] * src/connection.c, src/handler.c, src/io.c, src/io.h, tests/io_tests.c: Set FD of IOBuf to -1 on close This should prevent us from using the IOBuf to do anything useful after a close. I also added a convenience function for registering a disconnect with an IOBuf. Also, change the handling of an empty handler message to be in the sending task, so that we don't close the FD until all data has been flushed [eb9b896b44fa] 2012-02-01 Guillermo O. Freschi * Merge pull request #102 from metadave/develop Documentation typo, ldconfig mention for Ubuntu [6f602cb1ca80] 2012-02-01 Dave Parfitt * docs/manual/installing.tex: Changed FreeNSD to FreeBSD, added ldconfig comment [80daad899fc7] 2012-02-15 Jason Miller * src/connection.c, src/handler.c, src/io.c, src/io.h, tests/io_tests.c: Revert "Set FD of IOBuf to -1 on close" This reverts commit 249b43f1ebd1fee5e8e9d2955840f3f22174c24f. I meant to do this on develop. [bea3079103f3] * src/connection.c, src/handler.c, src/io.c, src/io.h, tests/io_tests.c: Set FD of IOBuf to -1 on close This should prevent us from using the IOBuf to do anything useful after a close. I also added a convenience function for registering a disconnect with an IOBuf. Also, change the handling of an empty handler message to be in the sending task, so that we don't close the FD until all data has been flushed [95019e2e2eec] 2012-01-29 Jason Miller * examples/ws/python/echo.py: Remove vestigial GET code [33145c56b417] 2012-01-27 Jason Miller * src/connection.c, src/websocket.c, src/websocket.h: Move websocket handshake into mongrel2 [665173bcb888] * examples/ws/echo/wsutil.py, examples/ws/python/echo.py: Merge branch 'websockets-devel' of github.com:zedshaw/mongrel2 into websockets-devel [1a6ced19112a] * examples/ws/echo/wsutil.py, examples/ws/python/echo.py, examples/ws/python/wsutil.py: Add some tweaks to make Autobahn tests happy We now do the full close handshake, and we properly check for valid utf-8 since python2.x gets it slightly wrong. [2a9006efa542] * examples/wschat/chat.py, examples/wschat/idiots, examples/wschat/static/960.css, examples/wschat/static/app.js, examples/wschat/static/chat.js, examples/wschat/static/flash/JsSocket.hx, examples/wschat/static/flash/Makefile, examples/wschat/static/flash/jsSocket.as, examples/wschat/static/flash/jsSocket.swf, examples/wschat/static/flash/jsSocket2.swf, examples/wschat/static/fsm.js, examples/wschat/static/index.html, examples/wschat/static/index2.html, examples/wschat/static/js/jsSocket.js, examples/wschat/static/js/jsonStringify.js, examples/wschat/static/reset.css, examples/wschat/static/site.css, examples/wschat/static/stuff.js, examples/wschat/static/text.css, examples/wschat/static/ws.py, examples/wschat/www.py: Remove outdated example [151f04d7e621] 2012-01-25 Jason Miller * src/connection.c: Merge branch 'develop' into websockets-devel [8f45291414af] 2012-01-20 Jason Miller * examples/ws/python/echo.py: Remove unneeded debugging function [585b6d96fdce] 2012-01-10 Jason Miller * examples/ws/python/echo.py, src/connection.c, src/websocket.h: Move more WS logic to mongrel2 [d4a660602d9f] 2012-01-09 Jason Miller * examples/ws/python/echo.py, examples/ws/python/wsutil.py, src/connection.c, src/websocket.c, src/websocket.h: Split header/data info and unmask in C [01c0186eb729] * docs/manual/.dexy, src/connection.c: Merge branch 'develop' into websockets-devel [0fa293c09fe1] * examples/ws/echo/wsutil.py, examples/ws/mongrel2.conf, examples/ws/python/echo.py, examples/ws/python/wsutil.py, src/connection.c, src/websocket.c, src/websocket.h: Starting point for websockets development. We pass all autobahn tests. Now it's time to move more logic from python to C. This could take a while, and the mongrel2 <-> handler interface for websockets may change, so I'm creating a branch [4c1282395571] 2011-12-21 Jason Miller * src/connection.c: Fix incorrect overflow [61c632625c06] 2012-02-14 Zed A. Shaw * Merge pull request #106 from carlopires/fix-ssl-send Fix ssl_send to send data in chunks of SSL_MAX_CONTENT_LEN [0b9de659c44f] 2012-02-13 Carlo Pires * src/io.c: Fix ssl_send to send data in chunks of SSL_MAX_CONTENT_LEN [e5154504e7c4] 2012-02-01 Josh Simmons * src/log.c, src/superpoll.c, src/task/fd.c: Update zmq usage for 3.1.x API zmq_send/zmq_recv become zmq_sendmsg/zmq_recvmsg. ZMQ_NOBLOCK becomes ZMQ_DONTWAIT. zmq_poll now takes milliseconds instead of microseconds. [77a8609d99ab] 2012-01-24 Zed A. Shaw * src/connection.c, src/request.c: Fix a crash bug that happens when you max out the keys allowed to a request hash. Also changes semantics so the caller owns the key. [3ac2fbaeb377] * tools/config_modules/Makefile: Make mongodb driver optional. [a4530b97d994] * docs/manual/deploying.tex: Typo in deploying. [a423d0c4ee7d] * .gitignore: Merge pull request #96 from wysman/config-from-mongodb Add mongoDB configuration module [6c6ea862f348] 2012-01-07 William MARTIN * .gitignore, tools/config_modules/Makefile, tools/config_modules/mongo-c-driver/.astylerc, tools/config_modules/mongo-c-driver/.gitignore, tools/config_modules/mongo-c-driver/APACHE-2.0.txt, tools/config_modules/mongo-c-driver/HISTORY.md, tools/config_modules/mongo-c-driver/README.md, tools/config_modules/mongo-c-driver/SConstruct, tools/config_modules/mongo-c-driver/docs/buildscripts/__init__.py, tools/config_modules/mongo-c-driver/docs/buildscripts/docs.py, tools/config_modules/mongo-c-driver/docs/source/sphinx/Makefile, tools/config_modules/mongo-c-driver/docs/source/sphinx/make.bat, too ls/config_modules/mongo-c-driver/docs/source/sphinx/source/bson.rst, tools/config_modules/mongo-c-driver/docs/source/sphinx/source/buildi ng.rst, tools/config_modules/mongo-c-driver/docs/source/sphinx/sourc e/conf.py, tools/config_modules/mongo-c-driver/docs/source/sphinx/so urce/connections.rst, tools/config_modules/mongo-c-driver/docs/sourc e/sphinx/source/index.rst, tools/config_modules/mongo-c-driver/docs/ source/sphinx/source/tutorial.rst, tools/config_modules/mongo-c-driver/doxygenConfig, tools/config_modules/mongo-c-driver/src/bson.c, tools/config_modules/mongo-c-driver/src/bson.h, tools/config_modules/mongo-c-driver/src/encoding.c, tools/config_modules/mongo-c-driver/src/encoding.h, tools/config_modules/mongo-c-driver/src/gridfs.c, tools/config_modules/mongo-c-driver/src/gridfs.h, tools/config_modules/mongo-c-driver/src/md5.c, tools/config_modules/mongo-c-driver/src/md5.h, tools/config_modules/mongo-c-driver/src/mongo.c, tools/config_modules/mongo-c-driver/src/mongo.h, tools/config_modules/mongo-c-driver/src/net.c, tools/config_modules/mongo-c-driver/src/net.h, tools/config_modules/mongo-c-driver/src/numbers.c, tools/config_modules/mongo-c-driver/src/platform.h, tools/config_modules/mongo-c-driver/src/platform/linux/net.c, tools/config_modules/mongo-c-driver/src/platform/linux/net.h, tools/config_modules/mongo-c-driver/test/auth.c, tools/config_modules/mongo-c-driver/test/benchmark.c, tools/config_modules/mongo-c-driver/test/bson.c, tools/config_modules/mongo-c-driver/test/bson_subobject.c, tools/config_modules/mongo-c-driver/test/count_delete.c, tools/config_modules/mongo-c-driver/test/cpptest.cpp, tools/config_modules/mongo-c-driver/test/cursors.c, tools/config_modules/mongo-c-driver/test/endian_swap.c, tools/config_modules/mongo-c-driver/test/errors.c, tools/config_modules/mongo-c-driver/test/examples.c, tools/config_modules/mongo-c-driver/test/functions.c, tools/config_modules/mongo-c-driver/test/gridfs.c, tools/config_modules/mongo-c-driver/test/helpers.c, tools/config_modules/mongo-c-driver/test/json.c, tools/config_modules/mongo-c-driver/test/oid.c, tools/config_modules/mongo-c-driver/test/platform/linux/timeouts.c, tools/config_modules/mongo-c-driver/test/replica_set.c, tools/config_modules/mongo-c-driver/test/resize.c, tools/config_modules/mongo-c-driver/test/simple.c, tools/config_modules/mongo-c-driver/test/sizes.c, tools/config_modules/mongo-c-driver/test/test.h, tools/config_modules/mongo-c-driver/test/update.c, tools/config_modules/mongo-c-driver/test/validate.c: Remove mongo-c-driver source, else we clone the repo during build [e63d767a0db3] 2012-01-06 William MARTIN * tools/config_modules/Makefile: Fix module loading error for developement built [3d3b3626aaf0] 2012-01-01 William MARTIN * tools/config_modules/mongodb.c: Fix not initialized variable [914fed9f92e7] 2011-12-28 William MARTIN * tools/config_modules/mongodb.c: Add some log Fix missing i in loop [7d63fc16f5d5] * tools/config_modules/mongodb_example_config.php: Add PHP script to create a simple config into mongoDB [0c21fb50df3c] * tools/config_modules/Makefile, tools/config_modules/mongodb.c: Add mongo connection from path [ea1eecb17063] 2011-12-21 William MARTIN * tools/config_modules/mongodb.c: Mongo connection [fbeb664762b6] 2011-11-10 William MARTIN * tools/config_modules/Makefile, tools/config_modules/mongodb.c: First version of mongodb loader. The server spec path is ignored for the moment and fallback on localhost server with "mongrel2" database [7862d099ce31] * src/config/config.c, tools/config_modules/null.c: Fix config module loading [16abc60f623f] 2011-11-09 William MARTIN * tools/config_modules/Makefile, tools/config_modules/mongo-c-driver/.astylerc, tools/config_modules/mongo-c-driver/.gitignore, tools/config_modules/mongo-c-driver/APACHE-2.0.txt, tools/config_modules/mongo-c-driver/HISTORY.md, tools/config_modules/mongo-c-driver/README.md, tools/config_modules/mongo-c-driver/SConstruct, tools/config_modules/mongo-c-driver/docs/buildscripts/__init__.py, tools/config_modules/mongo-c-driver/docs/buildscripts/docs.py, tools/config_modules/mongo-c-driver/docs/source/sphinx/Makefile, tools/config_modules/mongo-c-driver/docs/source/sphinx/make.bat, too ls/config_modules/mongo-c-driver/docs/source/sphinx/source/bson.rst, tools/config_modules/mongo-c-driver/docs/source/sphinx/source/buildi ng.rst, tools/config_modules/mongo-c-driver/docs/source/sphinx/sourc e/conf.py, tools/config_modules/mongo-c-driver/docs/source/sphinx/so urce/connections.rst, tools/config_modules/mongo-c-driver/docs/sourc e/sphinx/source/index.rst, tools/config_modules/mongo-c-driver/docs/ source/sphinx/source/tutorial.rst, tools/config_modules/mongo-c-driver/doxygenConfig, tools/config_modules/mongo-c-driver/src/bson.c, tools/config_modules/mongo-c-driver/src/bson.h, tools/config_modules/mongo-c-driver/src/encoding.c, tools/config_modules/mongo-c-driver/src/encoding.h, tools/config_modules/mongo-c-driver/src/gridfs.c, tools/config_modules/mongo-c-driver/src/gridfs.h, tools/config_modules/mongo-c-driver/src/md5.c, tools/config_modules/mongo-c-driver/src/md5.h, tools/config_modules/mongo-c-driver/src/mongo.c, tools/config_modules/mongo-c-driver/src/mongo.h, tools/config_modules/mongo-c-driver/src/net.c, tools/config_modules/mongo-c-driver/src/net.h, tools/config_modules/mongo-c-driver/src/numbers.c, tools/config_modules/mongo-c-driver/src/platform.h, tools/config_modules/mongo-c-driver/src/platform/linux/net.c, tools/config_modules/mongo-c-driver/src/platform/linux/net.h, tools/config_modules/mongo-c-driver/test/auth.c, tools/config_modules/mongo-c-driver/test/benchmark.c, tools/config_modules/mongo-c-driver/test/bson.c, tools/config_modules/mongo-c-driver/test/bson_subobject.c, tools/config_modules/mongo-c-driver/test/count_delete.c, tools/config_modules/mongo-c-driver/test/cpptest.cpp, tools/config_modules/mongo-c-driver/test/cursors.c, tools/config_modules/mongo-c-driver/test/endian_swap.c, tools/config_modules/mongo-c-driver/test/errors.c, tools/config_modules/mongo-c-driver/test/examples.c, tools/config_modules/mongo-c-driver/test/functions.c, tools/config_modules/mongo-c-driver/test/gridfs.c, tools/config_modules/mongo-c-driver/test/helpers.c, tools/config_modules/mongo-c-driver/test/json.c, tools/config_modules/mongo-c-driver/test/oid.c, tools/config_modules/mongo-c-driver/test/platform/linux/timeouts.c, tools/config_modules/mongo-c-driver/test/replica_set.c, tools/config_modules/mongo-c-driver/test/resize.c, tools/config_modules/mongo-c-driver/test/simple.c, tools/config_modules/mongo-c-driver/test/sizes.c, tools/config_modules/mongo-c-driver/test/test.h, tools/config_modules/mongo-c-driver/test/update.c, tools/config_modules/mongo-c-driver/test/validate.c, tools/config_modules/mongodb.c: Include mongo-c-driver sources and update Makefile to build it [96f8d0af8cf6] 2012-01-24 Zed A. Shaw * Merge pull request #100 from jubarajborgohain/develop Develop: fixed procer build issue [d01b84c0128f] 2012-01-12 Jubaraj Borgohain * Merge branch 'develop' of github.com:jubarajborgohain/mongrel2 into develop [8522b58f6fd2] 2012-01-10 Jubaraj Borgohain * tools/procer/Makefile: Fixed procer build errors by moving to the end of the line. Otherwise procer was not finding zmq stuff [579ac21feb6d] 2012-01-10 Guillermo O. Freschi * src/connection.c: Merge pull request #99 from jubarajborgohain/develop Develop: fixes compile error by changing "const int" to "#define" [abc9124e67e2] 2012-01-10 Jubaraj Borgohain * src/connection.c: fixed compile error by changing const int to #define [c35cf1bd4e47] 2011-12-21 Jason Miller * src/connection.c: Fix incorrect overflow [2b59c37a853a] 2012-01-08 Guillermo O. Freschi * docs/manual/deploying.tex: Undid the change to procer's location. Apparently I hallucinate directory structure. [ef369cacf6b5] * examples/configs/mongrel2.conf: Stricter pattern for json example. Removed profiler from default config. [68411bfe988e] 2012-01-06 Zed A. Shaw * docs/manual/Makefile: Make the manual sync up all the separate pages. [cbe8958ebb17] * .dexy, docs/manual/.dexy, docs/manual/Makefile, docs/manual/book.cfg, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/managing.tex, docs/ru/.nodexy: Trying out the manual with separate chapters in files. [a1cc7bb7e0e3] * src/connection.c, src/io.c, src/io.h: Make the use of the SSL_VERIFY_OPTIONAL, uh, optional. [bc42369c332a] * src/connection.c: Cleaned up SSL peer cert hash code. [cc5e80c412d5] * src/connection.c: Merge pull request #73 from ahbritto/peer_cert_sha1 Pass PEER_CERT_SHA1 to handlers. [6117a8f037b7] 2011-09-08 Arthur Britto * src/connection.c: Provide the fingerprint of peer_cert to handlers. [9b0166e16dcd] * src/io.c: Allow peer_certs to be checked and optional. [23bf4dfebb27] * src/polarssl/ssl_tls.c: Allow peer_certs to be self-signed if verify is optional. [cdc594c93958] 2012-01-06 Zed A. Shaw * src/dir.c, src/dir.h: Trying out completely removing the fd storage in the cache. [746345973950] 2012-01-05 Zed A. Shaw * Merge pull request #74 from mbj/feature/fix-sql-statistics-name- column-type Feature/fix sql statistics name column type [f0240cba922d] 2011-09-21 Markus Schirp * examples/python/mongrel2/sql/config.sql, src/config/config.sql, tools/m2sh/src/constants.c: Change 'text' to 'TEXT' in SQL column type def Dunno if it has consequences for sqlite. But it is improving consistency. [10e9d0dab1c8] 2012-01-05 Zed A. Shaw * Merge pull request #95 from jubarajborgohain/feature/timestamps-log Timestamps in log files. Fix for issue #64 [12a1158a0d07] 2011-12-29 Jubaraj Borgohain * src/dbg.c, src/dbg.h: Timestamps in log files. Fix for issue #64 [e1e73215763c] 2012-01-05 Zed A. Shaw * tools/filters/Makefile: There's no profiler.so in the filters. [da76435cfcbb] * src/dir.c: Minimal fix to the cache holding fds way too long. Just don't cache the fds. [4f57f556cefb] 2012-01-05 Guillermo O. Freschi * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [2962b2c1e0a9] 2011-12-28 Dalton Barreto * docs/manual/installing.tex: Added a note about uuid-runtime, needed by m2sh. closes #93. [85840be65c76] 2012-01-05 Guillermo O. Freschi * docs/manual/deploying.tex, docs/manual/managing.tex, examples/configs/mongrel2.conf, tools/filters/Makefile: Correct procer directory in the manual. [378bb3dfd50e] 2011-12-25 Guillermo O. Freschi * Merge pull request #90 from eimantas/develop Fixed an undefined return in pattern route matching. [f6a6c1e1abd9] 2011-12-25 Eimantas Vaiciunas * src/routing.c: tabs to spaces [9e0aa614cade] * .gitignore, src/routing.c: Minor changes - Added OSX .DS_Store to .gitignore - Fixes for routing tests and routing code involinvg comparison with NULL pointer [ea664423a9c0] 2011-12-21 Guillermo O. Freschi * Merge pull request #87 from wysman/fix.limits.handler_targets Fixed log info to show the correct max_targets value, instead of the hardcoded 128. [25e7fa7d183a] 2011-12-21 William MARTIN * src/handler.c: Fix log info about limits.handler_targets settings [adda552bf442] 2011-12-21 Guillermo O. Freschi * src/http11/http11_parser.c, src/http11/http11_parser.rl: Modified the parser to handle RFC3986 format URLs. [c08b8310c628] * docs/manual/installing.tex: Style and spelling. [33847be549b4] 2011-12-21 Dalton Barreto * docs/manual/installing.tex: Add the command to install libsqlite3-dev ref #86 [86d16f381bd4] 2011-11-10 William MARTIN * src/config/config.c, tools/config_modules/null.c: Fix config module loading [4d857a8697a4] 2011-12-20 Dalton Barreto * docs/manual/installing.tex: libsqlite3-dev is needed on some distros ref #86 [555c69b98f10] 2011-12-13 Jason Miller * src/routing.c, src/routing.h, tests/routing_tests.c: Multiple patterns with same prefix Fixes https://github.com/zedshaw/mongrel2/issues/38 [0b6165326f77] 2011-11-23 Jason Miller * Merge pull request #83 from Gibheer/develop solaris fixes [3f07b49d5c18] 2011-11-23 Gibheer * Merge branch 'feature/solaris-support' into develop [ec2da1cc56fb] * src/polarssl/net.c: ENDIAN is in the isa_defs.h on solaris [d6b9fa798f56] * Makefile: use /lib to compile on solaris [aae1647be797] 2011-11-23 Jason Miller * src/connection.c: Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [9a814ccd6ee3] 2011-11-10 Zed A. Shaw * docs/site/gensite.lua, docs/site/model/site.lua: Fix typo and use new site gen. [f0f2c8c732e0] * docs/site/views/index.html: Fix a typo in the home page. [68f9ef903d54] 2011-09-02 Zed A. Shaw * docs/manual/Makefile: HTML tidy sucks and has got to go. [7b381c412181] 2011-08-31 Zed A. Shaw * src/register.c: Stray NDEBUG killing me. [71d0170d83c9] 2011-08-31 Guillermo O. Freschi * src/tnetstrings_impl.h: Fixed memory leak in tns_parse_(integer|float). [78898617f7b6] 2011-08-30 Guillermo O. Freschi * src/connection.c, src/response.c, src/response.h: Reject all expectations but 100. [5f40d5c126e0] * Merge branch 'feature/expect-100' into develop [c49ab364e11a] * src/connection.c, src/headers.c, src/headers.h, src/response.c, src/response.h: Added basic support for Expect: 100-continue headers. [2b7ae144020a] 2011-11-23 Jason Miller * Merge branch 'feature/sendingtask' into develop [cac5bda56db1] * src/connection.c: Fix off-by-one error. Also, the Register_disconnect is redundant, so I pulled it. [9c568cca35ad] 2011-11-22 Jason Miller * src/connection.c, src/connection.h: Initial commit of deliver task. It builds, but is not yet tested yet [972b28f5e78d] 2011-08-25 Jason Miller * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [93573d216271] 2011-08-24 Zed A. Shaw * docs/site/views/top.html: Tweak the top.html to test publishing. [97fa2fd66fa4] * docs/site/views/top.html: Need to redesign the top.html [9b62add86783] * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [c3ccb3605a30] * docs/site/gensite.lua, docs/site/views/blog-post.html, docs/site/views/blog.html, docs/site/views/contact.html, docs/site/views/downloads.html, docs/site/views/features-post.html, docs/site/views/features.html, docs/site/views/index.html, docs/site/views/wiki-post.html, docs/site/views/wiki.html: Use the latest blog generate gear. [971a74d6f006] 2011-08-25 Jason Miller * tools/filters/Makefile, tools/filters/xff.c: Remove x-forwarded-for example for now as it is wrong [9d6fce4c073e] 2011-08-23 Jason Miller * tools/filters/xff.c: Fix memory leak in x-forwarded-for example [3347ee9b8add] 2011-08-22 Jason Miller * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [8fe7cf58cdba] 2011-08-22 Zed A. Shaw * tools/m2sh/src/commands/access.c: Fix the access log command so it actually handles the file not being there. [ec73a91ec0b8] 2011-08-22 Guillermo O. Freschi * Merge pull request #71 from ged/feature/m2sh-segfault-fix m2sh segfault fix [3a2347c3daa4] 2011-08-22 Michael Granger * tools/m2sh/src/commands/access.c: Error-check the fopen(2) call in "m2sh access" to avoid segfaults when the file in question doesn't exist. [969588e03b9a] 2011-08-22 Jason Miller * Merge branch 'feature/xff-filter' into develop [9f766663d945] * tools/filters/xff.c: Fix to use just bstrings [2ca90ab21a88] * tools/filters/Makefile, tools/filters/xff.c: Initial x-forwarded-for example [35318e2a0d82] 2011-08-22 Zed A. Shaw * examples/python/mongrel2/tnetstrings.py: Fix a bug in tnetstrings dump of floats. [78bd5fe03136] 2011-08-21 Zed A. Shaw * examples/python/mongrel2/tnetstrings.py: Add floats to tnetstrings python library. [3187c5193e9f] 2011-08-15 Zed A. Shaw * src/superpoll.c: Superpoll talks too much. [6b2bc79bd19e] * Makefile, tools/procer/procer.c: Make procer work again. [b57a6898d576] * Makefile, docs/manual/deploying.tex, docs/manual/inputs/install_procer.sh, docs/ru/manual/book.wiki, docs/ru/manual/deploying.tex, examples/procer/Makefile, examples/procer/procer.c, examples/procer/procer.h, examples/procer/profile.c, examples/procer/rampart.c, tools/procer/Makefile, tools/procer/procer.c, tools/procer/procer.h, tools/procer/profile.c, tools/procer/rampart.c: Make procer a first class citizen in tools and make it never exit unless requested. [96817b8c1b09] 2011-08-14 Zed A. Shaw * src/connection.c: Remove stray debug statement. [87a7e581423e] * examples/wschat/chat.py: Fix the wschat demo. [163794b89d78] * src/connection.c: Fix the flash sockets so they don't spew out tons of policy files. [78975246184d] 2011-08-13 Zed A. Shaw * Merge branch 'feature/RegisterFixes' into develop [a7bfffe29fcf] * src/register.c, src/register.h, tests/register_tests.c: Fixed up some problems with registration getting out of sync. [8de0fc3c1e46] * src/connection.c: Some requests won't have a path, so reject them right away. [821e5e7c8376] * examples/chat/chat.py: Moved the chat port around a bit. [7ee6e01095c5] * tests/integration/chat_tests: Add some random close to the chat thrashing. [93ba691ff509] * src/dir.c, tests/request_tests.c: These should be static consts so they don't clash with other libraries. [493c295ecd41] * src/io.c, src/io.h: Need to be able to close an IOBuf. [88b659027910] 2011-08-11 Zed A. Shaw * src/mongrel2.c: Make sure the copyright notice shows up. [1f2a44ac4363] 2011-08-08 Zed A. Shaw * .gitignore, tests/integration/and_tests, tests/integration/basic/config.py, tests/integration/basic/static/foobar, tests/integration/basic/static/index.html, tests/integration/basic/test.kegogi, tests/integration/basic/thrash_reload.sh, tests/integration/chat_tests, tests/integration/curl_tests, tests/integration/post_tests, tests/integration/thrash.sh, tests/integration/tnftp_tests, tests/integration/wget_tests, tests/integration/xml_tests, tests/system_tests/and_tests, tests/system_tests/basic/config.py, tests/system_tests/basic/static/foobar, tests/system_tests/basic/static/index.html, tests/system_tests/basic/test.kegogi, tests/system_tests/basic/thrash_reload.sh, tests/system_tests/chat_tests, tests/system_tests/curl_tests, tests/system_tests/post_tests, tests/system_tests/thrash.sh, tests/system_tests/tnftp_tests, tests/system_tests/wget_tests, tests/system_tests/xml_tests: Rename the system tests to integration tests. [bd172c4a5918] * .gitignore, examples/chat/chat.py, src/dir.c, src/handler.c, src/handler_parser.c, src/handler_parser.rl, tests/dir_tests.c, tests/system_tests/and_tests, tests/system_tests/basic/thrash_reload.sh, tests/system_tests/thrash.sh: Bug fixes found from this weekend's audit. [c2df70961865] 2011-08-01 Zed A. Shaw * src/pattern.c: Small tweak to just inline some stuff in the pattern codes. [f27724d21385] * Makefile, src/adt/tst.c, src/io.c, src/pattern.c, src/routing.c, tests/routing_tests.c, tests/runtests.sh: I don't know what I was thinking. Routing was totally jacked for all kinds of stupid reasons. [6f96635b3c14] * src/io.c: Need to use calloc so the ram is initialized. [5543a55faa6a] * src/io.c: Invalid free in the changes to IOBuf. [9a7a10528fb7] * src/connection.c: Memory handling error in connection refactor. [53b9fee35cea] * Merge branch 'feature/FineTuning' into develop [c37b3fc4a96e] 2011-07-31 Zed A. Shaw * src/adt/tst.c, src/connection.c, src/handler.c, src/io.c, src/register.c, src/register.h, src/request.c, tests/io_tests.c, tests/radixmap_tests.c, tests/register_tests.c: Valgrind run found some spots to optimize. [d903555f2d27] * tools/m2sh/src/parser.c: Minor rebuild of the m2sh parser. [216beb5cda4f] 2011-07-29 Zed A. Shaw * Merge pull request #68 from samueltardieu/develop Prevent double faults [2de44de34f08] 2011-07-29 Samuel Tardieu * src/handler.c: Prevent double faults If handler->running is false, the error message may be followed by a double fault as inmsg may well not be NULL at this time, and zmq_msg_close and free will erroneously be callled. [6130192f4233] 2011-07-28 Zed A. Shaw * examples/http_0mq/http.py, examples/python/mongrel2/handler.py: Changes to allow setting an empty send_id. [d656013ff0d2] * src/register.c, src/register.h, tests/radixmap_tests.c, tests/request_tests.c: Got the radixmap now managing connection ids that will never overlap. [dece4bac135c] * src/adt/radixmap.c, tests/radixmap_tests.c: Lots of perf tuning on the radix sort map. [5de3d7fa7afd] 2011-07-27 Zed A. Shaw * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [be97d1efcc72] 2011-07-26 Zed A. Shaw * tests/radixmap_tests.c: Looks like some compilers let me write crap code. [3e74334ef1bf] * tests/radixmap_tests.c: Make the random test on radix map more random. [23adadf51b9c] * src/adt/radixmap.c, src/adt/radixmap.h, tests/radixmap_tests.c: New experimental data structure for conn_id tracking. [d03641cced9e] * tools/m2sh/Makefile, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: Builds on OSX failed to link because OSX doesn't understand how a linker should work. [bfa336c12dfc] 2011-07-25 Zed A. Shaw * docs/manual/inputs/filters.conf: Forgot an artifact for the manual. [a3af282bea97] 2011-07-23 Zed A. Shaw * Merge branch 'feature/increasestack' into develop [9dec6697838b] * src/task/task.c: Boost the main stack to avoid crashes on people who insist on building with openpgm even though they'll never use it. [23b7292cc574] * src/dir.c: Do a more agressive cache evict on files. [692a305fc20b] 2011-07-23 Jason Miller * examples/wschat/static/chat.js: Get rid of my hostname from the demo [648a8481a9ac] * Merge branch 'feature/wschat' into develop [363cff7cae04] * examples/wschat/static/chat.js: Increase the ping delay a bit. I'm not sure why websockets die when there is no traffic yet, but it doesn't appear to be happening in mongrel2. Perhaps it's NATs/proxies/firewalls? [0c49ba2298d1] * examples/wschat/chat.py, examples/wschat/idiots, examples/wschat/static/960.css, examples/wschat/static/app.js, examples/wschat/static/chat.js, examples/wschat/static/flash/JsSocket.hx, examples/wschat/static/flash/Makefile, examples/wschat/static/flash/jsSocket.as, examples/wschat/static/flash/jsSocket.swf, examples/wschat/static/flash/jsSocket2.swf, examples/wschat/static/fsm.js, examples/wschat/static/index.html, examples/wschat/static/index2.html, examples/wschat/static/js/jsSocket.js, examples/wschat/static/js/jsonStringify.js, examples/wschat/static/reset.css, examples/wschat/static/site.css, examples/wschat/static/stuff.js, examples/wschat/static/text.css, examples/wschat/static/ws.py, examples/wschat/www.py: Port the jssockets chat to websockets [1236ddb37b98] 2011-07-19 Zed A. Shaw * src/polarssl/net.c: Merge branch 'master' into develop [3101453a0728] * Merge pull request #67 from eimantas/master Fixed mimetype for .gz [7461b17f930a] 2011-07-19 Eimantas Vaiciunas * tools/m2sh/src/mimetypes.csql: fixed mimetype for .gz [7ac378180cd6] * tools/m2sh/src/mimetypes.csql: added mimetype for files with .gz extension [acbf2dd61fcf] 2011-07-06 Zed A. Shaw * Merge pull request #60 from winks/trunk Fix issue 59: Does not build on FreeBSD 9.0-CURRENT [0dfb722223bd] 2011-06-26 Florian Anderiasch * Makefile, src/polarssl/net.c: And the same again for OpenBSD. Tested on 4.9 with the zeromq 2.0.10 port in snapshots [992afdc02a06] 2011-06-25 Florian Anderiasch * Makefile, src/polarssl/net.c: Make mongrel2 compile on NetBSD [99d764820376] 2011-06-23 Florian Anderiasch * Makefile, docs/manual/inputs/install_freebsd.sh, docs/manual/installing.tex: Fix issue 59: Does not build on FreeBSD 9.0-CURRENT [4dff86161092] 2011-07-06 Zed A. Shaw * Merge pull request #63 from btbytes/master fix urls to the Wiki pages in the docs [d1e91d423a83] 2011-07-05 Pradeep Gowda * docs/manual/contributing.tex, docs/manual/introduction.tex: fix urls to getting started and contributing page [65ac4b11a3d5] 2011-07-19 Zed A. Shaw * Merge pull request #65 from nmandery/develop m2sh: return correct mongrel2 running info [fc0231a8d8b1] 2011-07-17 nmandery * tools/m2sh/src/commands/running.c: m2sh: return correct mongrel2 running info when run with limited permissions [71258ae712f9] 2011-07-19 Zed A. Shaw * tools/m2sh/src/commands.c, tools/m2sh/src/commands/helpers.c, tools/m2sh/src/commands/helpers.h: Add a route command for testing out routing patterns. [421a83d81cf4] 2011-07-15 Zed A. Shaw * tools/m2sh/src/commands/config.c, tools/m2sh/src/config_file.c: Invalid free when the database is bad perms. [ae77e2233ae1] 2011-07-13 Zed A. Shaw * docs/site/src/blog/JUL_13_2011.md: Format fix for blog post. [f5aa3eb16345] * docs/site/src/blog/JUL_13_2011.md: Blog post about the pending release. [d52f7720fac6] * Merge branch 'feature/ConfigureFilters' into develop [d74c0e61b69f] * docs/manual/hacking.tex, docs/manual/managing.tex, examples/configs/.dexy, tools/filters/.dexy, tools/filters/null.c: Documented the filters. [15979bcc8927] * examples/configs/filters.conf: Create a simple demo filter configuration. [6e01ee0e801a] * tools/filters/null.c: Free the data in the null demo filter [30f0d2d5fc68] * src/config/config.c, src/config/config.sql, src/config/module.c, src/config/module.h, src/connection.c, src/filter.c, src/filter.h, tests/filter_tests.c, tests/minunit.h, tools/filters/null.c: Mongrel2 can now load filters that are configured from the config, and they have arbitrary configuration. [c5b6b919e3d7] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.c: Refactor the filter to tns convert to just be something the AST can do anyway. [4e4f6da055e6] * tools/m2sh/src/config_file.c: Compile error on make clean fixed. [44927c84402a] * src/adt/darray.h, tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/parser.c, tools/m2sh/src/parser.h, tools/m2sh/src/parser.y: m2sh now can handle Filter classes and converts their settings properly. [2649d1091423] * docs/manual/managing.tex: Small tweak to the ssl docs for the commands. [f4e48d4c31b5] * docs/manual/inputs/makecert.sh, docs/manual/inputs/mini_ssl_settings.conf, docs/manual/managing.tex: Document how SSL is configured in Mongrel2 [6ec254247dcf] * src/io.c: Rework the simple ssl cache that polar gave to use the darray and internal time. [d4af7e841151] * src/connection.c, src/io.c, src/polarssl/aes.c, src/polarssl/aes.h, src/polarssl/arc4.c, src/polarssl/arc4.h, src/polarssl/base64.c, src/polarssl/base64.h, src/polarssl/bignum.c, src/polarssl/bignum.h, src/polarssl/bn_mul.h, src/polarssl/camellia.c, src/polarssl/camellia.h, src/polarssl/certs.c, src/polarssl/certs.h, src/polarssl/cipher.c, src/polarssl/cipher.h, src/polarssl/cipher_wrap.c, src/polarssl/cipher_wrap.h, src/polarssl/config.h, src/polarssl/debug.c, src/polarssl/debug.h, src/polarssl/des.c, src/polarssl/des.h, src/polarssl/dhm.c, src/polarssl/dhm.h, src/polarssl/error.c, src/polarssl/error.h, src/polarssl/havege.c, src/polarssl/havege.h, src/polarssl/md.c, src/polarssl/md.h, src/polarssl/md2.c, src/polarssl/md2.h, src/polarssl/md4.c, src/polarssl/md4.h, src/polarssl/md5.c, src/polarssl/md5.h, src/polarssl/md_wrap.c, src/polarssl/md_wrap.h, src/polarssl/net.c, src/polarssl/net.h, src/polarssl/openssl.h, src/polarssl/padlock.c, src/polarssl/padlock.h, src/polarssl/pem.c, src/polarssl/pem.h, src/polarssl/pkcs11.c, src/polarssl/pkcs11.h, src/polarssl/rsa.c, src/polarssl/rsa.h, src/polarssl/sha1.c, src/polarssl/sha1.h, src/polarssl/sha2.c, src/polarssl/sha2.h, src/polarssl/sha4.c, src/polarssl/sha4.h, src/polarssl/ssl.h, src/polarssl/ssl_cli.c, src/polarssl/ssl_srv.c, src/polarssl/ssl_tls.c, src/polarssl/timing.c, src/polarssl/timing.h, src/polarssl/version.h, src/polarssl/x509.h, src/polarssl/x509parse.c, src/polarssl/xtea.c, src/polarssl/xtea.h, src/server.c: Upgrading to the latest PolarSSL development branch, and trying out a simple ssl session caching. [76438c5e5c6a] * src/http11/http11_parser.c, src/http11/http11_parser.rl: Eric Wong sent in a patch from Mongrel1 that protects against CTL chars in the header content. [90be579fd272] * src/io.c: Make the SSL send work as expected. [3e62d9ef9fda] 2011-07-11 Guillermo O. Freschi * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [7edc70f4d82e] 2011-07-08 Zed A. Shaw * README: Making sure people know the mongrel2.org site is not BSD licensed. [d37b785e0515] 2011-07-07 Zed A. Shaw * docs/site/gensite.lua: Bad require on the Tir util. [f3d730caa301] * docs/site/src/features/languages.md: Add wsgid to the front for python. [55554ce307c8] 2011-07-06 Dalton Barreto * docs/site/src/features/languages.md: Added wsgid project to the supported languages. [019b5b6d1634] 2011-07-06 Zed A. Shaw * docs/site/src/features/languages.md: Add node.js to list of languages. [dcff827ab04b] 2011-07-11 Guillermo O. Freschi * src/io.c: Fix for ssl_write sending up to SSL_MAX_CONTENT_LEN at a time. [df216f81fe00] 2011-07-06 Guillermo O. Freschi * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [36b3f630ab02] 2011-07-06 Zed A. Shaw * Merge branch 'feature/CorrectCleanupOfServers' into develop [7a81cb3cced9] * src/mongrel2.c, src/server.c, src/server.h: Add the necessary 'garbage collection' that removes dead servers. [e8ad1ef5777e] * src/host.c, src/server.c, src/server.h: Super clean shutdown that frees all possible ram from dirs, proxies, and hosts. [2620fb81b499] * src/dir.c: Fixed a mem leak in the cache cleanup. [d6998dff1514] 2011-07-06 Guillermo O. Freschi * Merge branch 'feature/m2sh_commands_reordering' into develop [f20bdcfe9ecf] * tools/m2sh/src/commands.c, tools/m2sh/src/commands/helpers.c, tools/m2sh/src/commands/helpers.h: Moved uuid function. [d72afd52f4bc] * tools/m2sh/src/commands/access.c, tools/m2sh/src/commands/config.c, tools/m2sh/src/commands/helpers.c, tools/m2sh/src/commands/logging.c, tools/m2sh/src/commands/querying.c, tools/m2sh/src/commands/running.c: Added license notices. [82418c5ed926] * tools/m2sh/Makefile, tools/m2sh/src/commands.c, tools/m2sh/src/commands.h, tools/m2sh/src/commands/access.c, tools/m2sh/src/commands/access.h, tools/m2sh/src/commands/config.c, tools/m2sh/src/commands/config.h, tools/m2sh/src/commands/helpers.c, tools/m2sh/src/commands/helpers.h, tools/m2sh/src/commands/logging.c, tools/m2sh/src/commands/logging.h, tools/m2sh/src/commands/querying.c, tools/m2sh/src/commands/querying.h, tools/m2sh/src/commands/running.c, tools/m2sh/src/commands/running.h, tools/m2sh/src/query_print.c, tools/m2sh/src/query_print.h: Split commands.c into several files. [f3e096ae876f] 2011-07-05 Zed A. Shaw * src/mongrel2.c, src/task/fd.c, src/task/task.h: Make superpoll shutdown properly at the end. [221d36577759] * tools/m2sh/src/commands.c: Quick cleanup of some of the access m2sh command code. [7d0be8fc69e6] * README.md: Update readme for new site. [dc538a7e78ec] * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [55c52353aaf3] 2011-07-05 Guillermo O. Freschi * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [df583b633063] * tools/m2sh/src/commands.c: Fixed timestamp type access. Updated logging to use m2 macro. [5a8068e28dd7] 2011-07-05 Zed A. Shaw * Merge branch 'feature/RefineNewFastRestart' into develop [7d8b8fa51b84] * src/connection.c: Small cleanup. [65f40f35ce38] * src/adt/darray.c, src/adt/darray.h, src/connection.c, src/control.c, src/filter.c, src/mongrel2.c, src/register.c, src/register.h, src/server.c, src/server.h, tests/darray_tests.c: Cleaning up a bunch of the mongrel2.c file and getting a smoother shutdown going. [e45ff1d637d1] * docs/site/src/features/index.json, docs/site/src/wiki/quick_start.md, docs/site/views/index.html: Updates to web site. [25b1f51927d9] * docs/site/Makefile, docs/site/assets/assets/aj-125x125.gif, docs/site/assets/assets/icons/automation.png, docs/site/assets/assets/icons/book_info.png, docs/site/assets/assets/icons/comment_blue.gif, docs/site/assets/assets/icons/comment_new.gif, docs/site/assets/assets/icons/date.gif, docs/site/assets/assets/icons/icon-16x16.png, docs/site/assets/assets/icons/icon-32x32.png, docs/site/assets/assets/icons/icon_info.gif, docs/site/assets/assets/icons/languages.png, docs/site/assets/assets/icons/modern_design.png, docs/site/assets/assets/icons/people.png, docs/site/assets/assets/icons/protocols.png, docs/site/assets/assets/icons/source_clone.png, docs/site/assets/assets/placeholder-50x50.png, docs/site/assets/assets/placeholder-520x340.png, docs/site/assets/assets/placeholder-58x58.png, docs/site/assets/assets/placeholder-615x140.png, docs/site/assets/assets/placeholder-840x320.png, docs/site/assets/assets/tf-125x125.gif, docs/site/assets/css/light- green.css, docs/site/assets/images/light-green/ajax-loader.gif, docs/site/assets/images/light-green/ajax-loader2.gif, docs/site/assets/images/light-green/arrow-left.png, docs/site/assets/images/light-green/background-texture.png, docs/site/assets/images/light-green/box-info-icon.png, docs/site/assets/images/light-green/box-resource-icon.png, docs/site/assets/images/light-green/box-sprite.png, docs/site/assets/images/light-green/box-warning-icon.png, docs/site/assets/images/light-green/comment-bg.png, docs/site/assets/images/light-green/comment-child-bg.png, docs/site/assets/images/light-green/content-texture-top.png, docs/site/assets/images/light-green/dropdown-arrow.png, docs/site/assets/images/light-green/faq-closed.png, docs/site/assets/images/light-green/faq-opened.png, docs/site/assets/images/light-green/footer-texture-top.png, docs/site/assets/images/light-green/header-texture.png, docs/site/assets/images/light-green/icons.png, docs/site/assets/images/light-green/image-overlay.png, docs/site/assets/images/light-green/list-item-current.png, docs/site/assets/images/light-green/list-item.png, docs/site/assets/images/light-green/logo-small.png, docs/site/assets/images/light-green/logo.png, docs/site/assets/images/light-green/quote.png, docs/site/assets/images/light-green/wiki-list-bg.png, docs/site/assets/js/forms.js, docs/site/assets/js/iefixes.js, docs/site/assets/js/jquery-1.6.1.min.js, docs/site/assets/js/royal.js, docs/site/config.json, docs/site/gensite.lua, docs/site/src/blog/JUL_04_2011.md, docs/site/src/blog/index.json, docs/site/src/contact.json, docs/site/src/downloads/index.json, docs/site/src/features/architectures.md, docs/site/src/features/design.md, docs/site/src/features/index.json, docs/site/src/features/languages.md, docs/site/src/features/protocols.md, docs/site/src/index.json, docs/site/src/wiki/contributor_instructions.md, docs/site/src/wiki/design_criticisms.md, docs/site/src/wiki/index.json, docs/site/src/wiki/license.md, docs/site/src/wiki/quick_start.md, docs/site/views/blog-post.html, docs/site/views/blog.html, docs/site/views/contact.html, docs/site/views/downloads.html, docs/site/views/features-post.html, docs/site/views/features.html, docs/site/views/footer.html, docs/site/views/header.html, docs/site/views/index.html, docs/site/views/sponsors.html, docs/site/views/sponsors_side.html, docs/site/views/top.html, docs/site/views/wiki-post.html, docs/site/views/wiki.html: New website design soon to replace old contents. [ecf2173ab444] 2011-07-01 Zed A. Shaw * src/connection.c, src/connection.h, src/mongrel2.c, src/server.c: Lazy load the server inside the connection processing loop. [81425b80c0b9] * src/connection.c: Logging for some testing. [245b0d571a4d] * src/mongrel2.c, src/server.c: Grab the server from the stack after accepting the connection, stop duping them. [de629a44de7a] * src/control.c, src/mongrel2.c, src/server.c, src/server.h, src/state.c: A quick hack on a better reload design, complete cleanup coming soon. [b3d5a19efd7d] 2011-06-29 Jason Miller * src/connection.c: Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [6b897f11eb9f] 2011-06-28 Zed A. Shaw * src/connection.c, src/server.c: Server shouldn't do that, not graceful. 404 not 502 when handler is removed. [d992bea34ba7] * src/mongrel2.c, src/server.c: Have the server loop exit right away on signal. [1ed28d5f6b73] 2011-06-26 Zed A. Shaw * src/mongrel2.c, src/server.c, src/task/task.c: First crack at a hackish instant reload capability. [976e61382fdd] 2011-06-25 Guillermo O. Freschi * tools/m2sh/src/config_file.c: Added safety checks for m2sh load when loading Dir handlers [5525d33674e4] 2011-06-29 Jason Miller * Merge branch 'feature/websockets' into develop [c1e3d2affcef] 2011-06-29 Jason Miller * src/connection.c: remove superflous print statement [f1a41f73a989] * src/connection.c, src/request.c: Code cleanup, fix some TODOs [ede6a8f32c06] 2011-06-28 Jason Miller * src/connection.c: Fix 2 remaining problems 1) WS handshake doesn't require a content-length header, so manually set the length 2) "MESSAGE" connection type implies base64 encoding, that's not what I want [5c077ca15474] 2011-06-27 Jason Miller * src/connection.c, src/connection.h, src/state_machine.rl, src/websocket.c, src/websocket.h: First attempt to pass on WS packets [14c45bfdae79] 2011-06-27 Jason Miller * src/connection.c: Remove stupid 8-byte websocket check [619eda3413ae] * src/state.c, src/state.rl: Update state.c from ragel file [72655ae3e9c5] 2011-06-26 Jason Miller * src/connection.c, src/events.h, src/state.h, src/state.rl, src/state_machine.rl: Add states to state-machine [1c00ee48c48e] 2011-06-24 Jason Miller * src/connection.c, src/events.h, src/request.c, src/request.h, src/websocket.c, src/websocket.h: Initial commit of websocket features. A websocket handshake is detected. It currently branches to a non- existent state. [136e3ffac4d4] 2011-06-22 Alex Gartrell * src/mime.c: To resolve issue 58, convert path to lower case before checking for extension in mime map. [35a96ab3c626] 2011-06-22 Yaroslav Shirokov * src/handler.c: [handler-subscribe] Don't always subscribe to the equivalent of an empty string [d98770c98419] 2011-06-22 Zed A. Shaw * docs/manual/hacking.tex: Add the exact message grammar for responses. [0d811a28c441] * Merge branch 'master' into develop [7d3efb9644f7] * README.md: Update readme with 1.7.5 md5. [ce7a9e761502] * Merge branch 'release/v1.7.5' into develop [0e422a2a34a4] * Merge branch 'release/v1.7.5' [c0655f03aff6] [v1.7.5] * README.md, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/version.h: Release 1.7.5. [6fad3f017bf6] * src/io.c, src/upload.c: Possible double free with upload. [f452e2bb1f09] 2011-06-21 Zed A. Shaw * src/handler.c, src/server.c, tests/tnetstrings_tests.c, tools/m2sh/src/parser.c: Forgot to remove some debug output from the release build. Grrr. [f7573a7be6ae] * Merge branch 'master' into develop [abf5d9cd5fcc] * Merge branch 'release/v1.7.4' into develop [b071d6d6956d] * src/handler.c, src/server.c, tests/tnetstrings_tests.c, tools/m2sh/src/parser.c: Forgot to remove some debug output from the release build. Grrr. [2690223aca6e] * Makefile, README.md: Put the MD5 up for 1.7.4 [4d3f1442c80a] * Merge branch 'release/v1.7.4' [cceaa81dd5ab] [v1.7.4] * Merge branch 'master' of github.com:zedshaw/mongrel2 into release/v1.7.4 [045915f8e49a] * README.md, docs/manual/Makefile, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/version.h: Release 1.7.4. [711d2c08ad41] 2011-06-20 Zed A. Shaw * Makefile: Merge pull request #16 from duaneg/develop Fix parallel builds: add explicit dependency on libm2 to individual tests [a86a8f9b08b2] 2011-06-18 Duane Griffin * Makefile: Add explicit dependency on libm2 to each test that needs it. Without this a -j4 build reliably fails on my machine. [4a4c8f8ac26e] 2011-06-20 Zed A. Shaw * Merge pull request #15 from jubarajborgohain/develop Display a hint to the user that they may be missing a ')' in their config file [d3db15767a4a] 2011-06-18 Juba Borgohain * tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: Display a hint to the user that they may be missing a ')' in their config file if there is a syntax error when the end of file is reached. [175259644e95] 2011-06-18 Zed A. Shaw * Makefile: Use CFLAGS instead of OPTFLAGS for the -fPIC build. [fbf7db319c2e] 2011-06-15 Zed A. Shaw * src/connection.c, src/server.c: Update the routes with copied handlers as well. [6bdbb8a6b8f8] * src/connection.c, src/handler.c, src/mongrel2.c, src/server.c, src/server.h, src/task/task.c: Have reload copy handlers over from the previous server config if they haven't changed. Debugging output on temporarily. [8bc44c5441a0] 2011-06-15 Guillermo O. Freschi * Merge branch 'feature/m2sh_access_improvements' into develop [ee4747226e13] * tools/m2sh/src/commands.c: Toying with log formatting. [d4983e124387] * tools/m2sh/src/commands.c: Do not quit on error; print message and skip line. [08a5325bad6c] 2011-06-13 Zed A. Shaw * src/tnetstrings.c: Fix a buffer overflow when the buffer is the exact size. [e1ce661b2f61] 2011-06-13 Guillermo O. Freschi * Merge branch 'feature/m2sh_tnetstring_logs' into develop [98c251894b2b] * tools/m2sh/src/commands.c: m2sh is now able to read tnetstring access logs. [3313b543dcbb] * src/tnetstrings.c, tests/tnetstrings_tests.c: Removed incorrect edge case handling. Disabled handling of LONG_MIN. [f4ba369519c2] * src/tnetstrings.c, tests/tnetstrings_tests.c: Speedup when rendering numbers in a tnetstring. Added null terminator sometimes missing when rendering tnetstrings. [8a3cd5f69af2] 2011-06-12 Zed A. Shaw * Merge pull request #13 from Tordek/develop Logs are now written in tnetstring format. [7c021b73ae7e] 2011-06-12 Guillermo O. Freschi * src/log.c, src/tnetstrings.c, src/tnetstrings.h: Logs are now written in tnetstring format. [b37f570fd589] 2011-06-12 Zed A. Shaw * Merge pull request #12 from Tordek/develop Fix to output the request method correctly in the log. [1a4746227da6] 2011-06-12 Guillermo O. Freschi * src/log.c: Fix to output the request method correctly in the log. [11d8ac92d718] * Merge branch 'develop' of github.com:Tordek/mongrel2 into develop [77669107bc26] 2011-06-12 Zed A. Shaw * src/adt/darray.c, src/adt/dict.c, src/adt/hash.c, src/cache.c, src/config/module.c, src/connection.c, src/control.c, src/dbg.c, src/dir.c, src/filter.c, src/io.c, src/log.c, src/upload.c, tools/config_modules/null.c, tools/config_modules/zmq.c, tools/filters/null.c, tools/m2sh/src/ast.c, tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/m2sh.c, tools/m2sh/src/token.c, tools/m2sh/tests/cli_tests.c, tools/m2sh/tests/parser_tests.c: Fix up some formatting and add licenses to most .c files. [6c9e33f53ed7] 2011-06-11 Zed A. Shaw * Merge branch 'master' into develop [889eb16a0354] * Merge branch 'release/v1.7.3' into develop [b90770d995ed] 2011-06-20 Zed A. Shaw * Merge pull request #17 from winks/trunk clarified using PREFIX on Installing [9d50c879180f] 2011-06-20 Florian Anderiasch * docs/manual/installing.tex: clarified using PREFIX on Installing [537db0be41a5] 2011-06-12 Zed A. Shaw * Merge pull request #10 from jubarajborgohain/master Updated ContributorInstructions wiki. [e0f86dc59409] 2011-06-11 Juba Borgohain * docs/wiki/ContributorInstructions.wiki: removed confusing line about cloning branches. [2ad720889db5] * docs/wiki/ContributorInstructions.wiki: Added instructions for basic git-flow usage. Most of this is how it is specified in the mailing list. [249839184abc] 2011-06-10 Jubaraj Borgohain * docs/wiki/ContributorInstructions.wiki: Removed references to fossil. Updated the document to use git and github. [78693fd61913] 2011-06-11 Zed A. Shaw * README.md: Forgot the version number. [a33fb14d3f79] * README.md: Update the release date. [4eb3f6a1489d] * README.md: Update md5 for the 1.7.3 release. [53cf209fccdf] * Merge branch 'release/v1.7.3' [194837c57de4] [v1.7.3] * tests/bstr_tests.c, tests/dir_tests.c: Fix some compiler warnings in the tests. [bafeef03253d] * Makefile, README.md, docs/manual/managing.tex, docs/wiki/mongrel2.wiki, examples/configs/mongrel2.conf, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/io.c, src/register.c, src/version.h: Preparing for a 1.7.3 release. [7adf55ca6eb2] * src/upload.c: Refactor the new chmod upload temp so it's a little cleaner. [1a61cb630a77] * src/connection.c: Memory leak because the payload was set NULL and couldn't be freed. [fbec299f12c2] * examples/python/mongrel2/config/model.py: Need to add the use_ssl option to the python config stuff. [d6fcb4cc53b5] 2011-06-11 Dalton Barreto * src/io.c, src/register.c, src/register.h: Changed types from int/uint32_t to off_t. The timeout logic was still using int/uint32_t to do the calculations. Using off_t makes it do the right thing about connections serving >2GB static files, for example. [b753afdaf1ce] 2011-06-11 Zed A. Shaw * Merge branch 'feature/AddMultiHandlerTestCase' into develop [74c34dc16330] * examples/configs/multi_handler.conf: Include an example that does N:1 handler routing for testing. [18917e758e4c] * src/config/config.c: Format string error in error message. [c5f555216034] * Merge branch 'feature/FixHandlerLoad' into develop [6565ac7226a4] * Merge branch 'develop' of github.com:zedshaw/mongrel2 into feature/FixHandlerLoad [b557d65dac75] 2011-06-11 Yaroslav Shirokov * docs/manual/managing.tex: [upload-mode] Updating manual to include the upload file mode [dc7a7ffab256] 2011-06-11 Zed A. Shaw * src/config/config.c, src/connection.c: N routes pointed at 1 handler would fail due to a logic error in config loading. [0c743741c2a6] 2011-06-11 Yaroslav Shirokov * src/upload.c: [upload-mode] Reuse `rc' rather than inline the call in check() [2487279b33c4] * src/upload.c: [upload-mode] Check does errno for me. Neat. [e8ac00b7a554] * src/upload.c: [upload-mode] check()'ing everything. TODO: ERRNO [7d1ba3564d27] * src/upload.c: [upload-mode] Setting mode. [b549860dc9f0] * src/upload.c: [upload-mode] Int parsing [a8d8a0555af2] * src/upload.c: [upload-mode] Properly typed defaults. [fe18bad4d5fc] * src/upload.c: [upload-mode] Trace to make sure I can yank out a setting [1e77e8925b2e] 2011-06-10 Zed A. Shaw * src/config/config.c: Allow a blank slate host with no routes. [85a0d160a713] * tools/m2sh/src/ast.c: Small error in a format string. [63a6bc4f68f4] * Merge branch 'master' into develop [18f02eddf5a5] * Merge branch 'release/v1.7.2' into develop [b8bf5813bf56] * Makefile, README.md: Announce 1.7.2 release. [e83f867d3ba5] * Merge branch 'release/v1.7.2' [585ff0a393d3] [v1.7.2] * README.md, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/upload.c, src/version.h: Release 1.7.2 [113dd7b71956] 2011-06-07 Zed A. Shaw * Merge branch 'master' into develop [6b6df8b33d8d] * src/dir.c: Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [0908c1082b29] 2011-06-07 Joshua Simmons * tools/m2sh/src/config_file.c: A quick fix so tnetstring handlers work again If the protocol was set in the config, the database was getting its value wiped out. This fixes it so explicitly setting the protocol should work now. [d97afe294182] 2011-06-06 Dalton Barreto * src/dir.c: Changing format string to "%zd" breaks the tests. [18aeba8f1b3f] 2011-06-07 Zed A. Shaw * src/adt/darray.c, src/adt/darray.h, src/adt/tst.c, src/bsd_specific.c, src/dir.c, src/handler.c, src/io.c, src/proxy.c, src/superpoll.c, src/task/fd.c, src/task/net.c, src/tnetstrings_impl.h: Fix a bunch of random format and signed int compare errors that only show up in the dev build. [d726b47b73b6] 2011-06-06 Zed A. Shaw * Merge branch 'feature/FixingManual' into develop [b82f39418ced] * docs/manual/hacking.tex: Fix up the docs for the config-anything feature. [0f5286703ba1] * tools/config_modules/.dexy: Fix up the docs for the config-anything feature. [1c333814061d] * Merge branches 'develop' and 'master' into develop [f965f232cc13] * Merge branch 'develop' of github.com:zedshaw/mongrel2 into develop [fa6054f154b0] * Merge branch 'release/1.7' into develop [c2cb5b22780a] * README.md, docs/manual/Makefile, docs/manual/hacking.tex, docs/manual/inputs/null_config_run.sh, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/connection.c, src/dir.c, src/server.c, src/upload.c, src/version.h: Cleanups and last minute bug fixes for the 1.7 release. [5eac81fc238e] * src/io.c, tests/filters/Makefile: Some format strings were wrong for the off_t type. [9ffbc13811d5] 2011-06-06 Alex Gartrell * src/dir.c, src/dir.h, src/io.c, src/io.h: Added back bigfiles support by changing *_stream_file callbacks to use off_t. Ensured that this would work on 32-bit machines by #define'ing _FILE_OFFSET_BITS to be 64 (basically just makes off_t a 64-bit type). [c421a7d033a0] 2011-06-05 Zed A. Shaw * src/dir.c, src/dir.h: Temporarily remove the >2G file support as it doesn't work quite right, then start working on another try. [9a89a7cc8313] * Makefile, src/filter.c, src/filter.h, src/task/fd.c, src/task/net.c, src/task/task.c, tests/filter_tests.c, tests/filters/Makefile, tests/filters/test_filter.c, tests/filters/test_filter_a.c, tests/filters/test_filter_b.c, tests/filters/test_filter_c.c, tools/config_modules/Makefile, tools/filters/Makefile, tools/filters/null.c, tools/filters/test_filter.c, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c: Cleaned up the Makefiles and moved test filters into tests/ [bcfccf43edfb] 2011-06-05 Zed Shaw * examples/kegogi/src/kegogi.c, examples/procer/procer.c, src/config/config.c, src/dbg.c, src/dbg.h, src/filter.c, src/mongrel2.c, src/server.c, src/task/task.c, tests/bstr_tests.c, tests/cache_tests.c, tests/config_tests.c, tests/connection_tests.c, tests/darray_tests.c, tests/db_tests.c, tests/dict_tests.c, tests/dir_tests.c, tests/filter_tests.c, tests/handler_parser_tests.c, tests/handler_tests.c, tests/hash_tests.c, tests/host_tests.c, tests/http11_tests.c, tests/httpclient_tests.c, tests/io_tests.c, tests/list_tests.c, tests/mime_tests.c, tests/minunit.h, tests/pattern_tests.c, tests/proxy_tests.c, tests/register_tests.c, tests/request_tests.c, tests/response_tests.c, tests/routing_tests.c, tests/server_tests.c, tests/setting_tests.c, tests/state_tests.c, tests/superpoll_tests.c, tests/tnetstrings_tests.c, tests/tst_tests.c, tests/unixy_tests.c, tools/config_modules/null.c, tools/config_modules/zmq.c, tools/filters/test_filter.c, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c, tools/m2sh/src/m2sh.c, tools/m2sh/tests/cli_tests.c, tools/m2sh/tests/minunit.h, tools/m2sh/tests/parser_tests.c: Make logging more robust by removing all the LOG_FILE globals. [93df3ad57839] * tools/config_modules/null.c: OSX seems to load modules differently so LOG_FILE is never set. [344f7b50472f] 2011-06-04 Zed A. Shaw * Makefile, src/config/config.c, src/config/config.h, src/config/module.c, src/config/module.h, src/mongrel2.c, tests/config_tests.c, tools/config_modules/Makefile, tools/config_modules/null.c, tools/config_modules/zmq.c, tools/m2sh/src/commands.c: Working initial first cut of config-anything feature. [a090fa8dd8e1] * src/config/config.c, src/config/db.c, src/config/db.h, src/config/module.c, src/config/module.h, src/control.c, src/control.h, src/mongrel2.c, src/server.c: Audit of the latest changes to the configuration loading. [51b230748c49] * examples/python/mongrel2/sql/config.sql, src/config/config.c, src/config/config.sql, src/config/module.c, src/dir.c, src/server.c, src/server.h, tests/connection_tests.c, tests/server_tests.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c: Implemented a Server.use_ssl and refactored code to not use strtok and evil friends. [081368c7c087] 2011-06-04 Dalton Barreto * setupgit.sh: Added gitflow to the setup script [15dc4c8bef4c] 2011-06-04 Zed A. Shaw * src/config/db.h, tools/m2sh/src/commands.c: Make m2sh work with control port and tables again. [2fbf628e81d3] 2011-06-07 Zed A. Shaw * Merge pull request #9 from jubarajborgohain/master fixed ticket with title "Error messages for missing variables is weird" [0f2ee8fb3e11] [v1.7.1] 2011-06-07 Juba Borgohain * tools/m2sh/src/ast.c: Error messages for missing variables should now be more clear. [545942d69ea7] 2011-06-06 alexgartrell * Merge pull request #8 from jy/master Typo Fixed: OPTFLGAS->OPTFLAGS [8ab0c9cf0099] 2011-06-06 JY * tests/filters/Makefile, tools/config_modules/Makefile, tools/filters/Makefile: Fixed OPTFLGAS->OPTFLAGS in some makefiles [74ebff48d2ef] 2011-06-06 Zed A. Shaw * README.md: Seeing if I screwed up master. [9f76cef17683] * README.md: Add the MD5 to the readme. [dcc403f17cfc] * README.md, docs/manual/Makefile, docs/manual/hacking.tex, docs/manual/inputs/null_config_run.sh, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/connection.c, src/dir.c, src/server.c, src/upload.c, src/version.h: Cleanups and last minute bug fixes for the 1.7 release. [35470c5d8ba4] * src/io.c, tests/filters/Makefile: Some format strings were wrong for the off_t type. [3b42d936174e] 2011-06-06 Alex Gartrell * src/dir.c, src/dir.h, src/io.c, src/io.h: Added back bigfiles support by changing *_stream_file callbacks to use off_t. Ensured that this would work on 32-bit machines by #define'ing _FILE_OFFSET_BITS to be 64 (basically just makes off_t a 64-bit type). [0015ff742afb] 2011-06-05 Zed A. Shaw * src/dir.c, src/dir.h: Temporarily remove the >2G file support as it doesn't work quite right, then start working on another try. [29e53455cc3f] * Makefile, src/filter.c, src/filter.h, src/task/fd.c, src/task/net.c, src/task/task.c, tests/filter_tests.c, tests/filters/Makefile, tests/filters/test_filter.c, tests/filters/test_filter_a.c, tests/filters/test_filter_b.c, tests/filters/test_filter_c.c, tools/config_modules/Makefile, tools/filters/Makefile, tools/filters/null.c, tools/filters/test_filter.c, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c: Cleaned up the Makefiles and moved test filters into tests/ [4820e46f5c98] 2011-06-05 Zed Shaw * examples/kegogi/src/kegogi.c, examples/procer/procer.c, src/config/config.c, src/dbg.c, src/dbg.h, src/filter.c, src/mongrel2.c, src/server.c, src/task/task.c, tests/bstr_tests.c, tests/cache_tests.c, tests/config_tests.c, tests/connection_tests.c, tests/darray_tests.c, tests/db_tests.c, tests/dict_tests.c, tests/dir_tests.c, tests/filter_tests.c, tests/handler_parser_tests.c, tests/handler_tests.c, tests/hash_tests.c, tests/host_tests.c, tests/http11_tests.c, tests/httpclient_tests.c, tests/io_tests.c, tests/list_tests.c, tests/mime_tests.c, tests/minunit.h, tests/pattern_tests.c, tests/proxy_tests.c, tests/register_tests.c, tests/request_tests.c, tests/response_tests.c, tests/routing_tests.c, tests/server_tests.c, tests/setting_tests.c, tests/state_tests.c, tests/superpoll_tests.c, tests/tnetstrings_tests.c, tests/tst_tests.c, tests/unixy_tests.c, tools/config_modules/null.c, tools/config_modules/zmq.c, tools/filters/test_filter.c, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c, tools/m2sh/src/m2sh.c, tools/m2sh/tests/cli_tests.c, tools/m2sh/tests/minunit.h, tools/m2sh/tests/parser_tests.c: Make logging more robust by removing all the LOG_FILE globals. [5af5ec58c03a] * tools/config_modules/null.c: OSX seems to load modules differently so LOG_FILE is never set. [b44bdfd9dd5d] 2011-06-04 Zed A. Shaw * Makefile, src/config/config.c, src/config/config.h, src/config/module.c, src/config/module.h, src/mongrel2.c, tests/config_tests.c, tools/config_modules/Makefile, tools/config_modules/null.c, tools/config_modules/zmq.c, tools/m2sh/src/commands.c: Working initial first cut of config-anything feature. [65f080dc89e6] * src/config/config.c, src/config/db.c, src/config/db.h, src/config/module.c, src/config/module.h, src/control.c, src/control.h, src/mongrel2.c, src/server.c: Audit of the latest changes to the configuration loading. [12f832342dc4] * examples/python/mongrel2/sql/config.sql, src/config/config.c, src/config/config.sql, src/config/module.c, src/dir.c, src/server.c, src/server.h, tests/connection_tests.c, tests/server_tests.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c: Implemented a Server.use_ssl and refactored code to not use strtok and evil friends. [ff444e78f725] 2011-06-04 Dalton Barreto * setupgit.sh: Added gitflow to the setup script [cd2a3d95032a] 2011-06-04 Zed A. Shaw * src/config/db.h, tools/m2sh/src/commands.c: Make m2sh work with control port and tables again. [221c6822e3ea] 2011-06-03 Dalton Barreto * src/dir.c, src/dir.h, tests/dir_tests.c: Instead of returning a http chunked response, just write 1GB chunks to the IOBuf The HTTP chunked response is meant to be used when we do not know the size of the response, which in this case (serving a static file) is not true. [20c6f95f059c] 2011-06-03 Zed A. Shaw * src/dir.c: Slight refactor of the giant file send code. [c09fa32f17ee] 2011-06-03 Dalton Barreto * Merge pull request #6 from Tordek/docs General cleanup [bba4037e3b4a] 2011-06-02 Guillermo O. Freschi * docs/manual/inputs/load_simple_config.sh: Typo in directory name Signed-off-by: Guillermo O. Freschi [1f70976f7b06] * docs/manual/managing.tex: Minor typo. Signed-off-by: Guillermo O. Freschi [f53a208eee27] * docs/manual/inputs/cloning_mongrel2_source.sh, docs/manual/inputs/updating_your_checkout.sh, docs/manual/installing.tex: Defossilization of the docs. Signed-off-by: Guillermo O. Freschi [ee022a4904a3] * docs/manual/hacking.tex, docs/manual/managing.tex: General cleanup Signed-off-by: Guillermo O. Freschi [c6e8cf40ceac] 2011-06-02 Zed A. Shaw * src/config/config.c, tests/minunit.h: Allow empty mimetypes and settings. [4b37e1585c85] * src/config/config.c, src/config/db.c, src/handler.c, src/superpoll.c, src/tnetstrings.c, tests/minunit.h, tools/m2sh/src/config_file.c: Allow for routes pointing at the same handler, remove NDEBUG, and fix a compacting segfault in superpoll. [0f8306a96710] * .dexy, docs/manual/.dexy, examples/.dexy: Recovered the .dexy files. [7ad44ff2dff7] * Makefile, tools/m2sh/Makefile: Adding -pthread for platforms that haven't figured out we need it. [08cb1cf321bb] * src/dir.c, tests/dir_tests.c: Quick fixes for the >2G code. [0524bdd89cf5] 2011-05-30 Dalton Barreto * src/dir.c: O_LARGEFILE not needed when compiling with -D_FILE_OFFSET_BITS=64 [92998df6f4e2] * tests/dir_tests.c: Adjusted test with the new max chunk size: 1GB. [ff1ab461191b] 2011-05-29 Dalton Barreto * Makefile, src/dir.c, src/dir.h: First implementation of chunked responses when serving huge static files. [12c91dfb2e3a] 2011-05-28 Dalton Barreto * src/dir.c: Dir_stream_file should use the correct filesize when streaming. [fbfcb5d2116c] * src/dir.c, src/dir.h, tests/dir_tests.c: Correctly generate HTTP headers for chunked responses. [65d5261ac6d4] * src/dir.c, src/dir.h: Do not use stat() to get the file's size. [6ec21d84672d] * tests/dir_tests.c: New test to check the requested path is a directory. [087e563553f7] 2011-05-26 Dalton Barreto * Makefile, src/dir.c, src/dir.h, tests/dir_tests.c: Serve correctly static files bigger than 2GB [15d963b5fbc1] 2011-06-01 Zed A. Shaw * src/server.c: Bad include statement. [a25d504ab866] * src/server.c: Bad include statement. [4d5416ede8b2] * src/handler.c, src/mongrel2.c, src/server.c, src/superpoll.c, src/superpoll.h, src/task/fd.c, tools/m2sh/src/commands.c: Working reloads and m2sh config handling going. [10d8e05301a8] 2011-05-31 Zed A. Shaw * src/server.c: Bad debug print that only showed up in make clean dev. [630b93c406fd] * src/config/config.c, src/config/config.h, src/config/db.c, src/config/db.h, src/config/module.c, src/config/module.h, src/connection.c, src/control.c, src/dir.c, src/dir.h, src/handler.c, src/handler.h, src/host.c, src/host.h, src/mongrel2.c, src/proxy.c, src/server.c, src/server.h, src/tnetstrings.c, src/tnetstrings.h, src/tnetstrings_impl.h, tests/config_tests.c, tests/connection_tests.c, tests/darray_tests.c, tests/db_tests.c, tests/dir_tests.c, tests/filter_tests.c, tests/handler_tests.c, tests/host_tests.c, tests/minunit.h, tests/routing_tests.c, tests/server_tests.c, tests/superpoll_tests.c, tests/tnetstrings_tests.c, tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c: Major refactoring of how configuration is loaded which will lead to configurations from anything, and to better hot reloading. [54885592b658] 2011-05-26 Yaroslav Shirokov * Merge pull request #4 from eimantas/gitignore-dsym added dSYM directories to gitignore for OS X builds [ecc426f9639e] 2011-05-26 Eimantas Vaiciunas * .gitignore: added dSYM directories to gitignore [be674e52010c] 2011-05-25 Zed A. Shaw * src/filter.c, src/mongrel2.c, src/task/fd.c, src/task/task.c, src/task/task.h, src/task/taskimpl.h: A working signals system that can completely clean shutdown the running server. Still hackish. [f1655a5a60d7] 2011-05-24 Dalton Barreto * .gitignore: Skip coverage generated files. [aa27d014443a] 2011-05-24 Lionel Orry * Makefile: coverage mode enhancements: - fix linking for coverage mode - pass the coverage flags to m2sh and filters - filter-out polar-ssl from coverage measurements - make coverage html report apply to mongrel2 tree only [90a4c897db2c] 2011-05-24 Zed A. Shaw * Merge pull request #2 from mmerickel/fix.macports-makefile Fix to allow build flags to propagate. [7b11dc0d7dd4] 2011-05-24 Michael Merickel * Makefile, tools/filters/Makefile: Fix to allow build flags to propagate. Couldn't build on OS X because it wasn't searching in /opt/local for libraries, turns out the flags were getting overridden by the ones on the lib. [0305fd3fc2cf] 2011-05-23 Zed Shaw * Makefile, src/task/net.c: Fixes for OSX build issues. OSX is very touchy about where libraries go. [d8e5ed0a87e6] 2011-05-21 Yaroslav Shirokov * Merge pull request #1 from nicholaides/patch-1 Proofreading the README [3fc4187d131c] 2011-05-21 Mike Nicholaides * README.md: Proofreading the README [8248a86279bf] 2011-05-21 Zed A. Shaw * README, README.md: Nice, so I guess github defines 'default' differently. [98f84120d641] * README: Put some of the mongrel2 docs in the readme. [8ea7834e31fa] 2011-05-21 Yaroslav Shirokov * .gitignore: [master] Nuking a bit more test junk [843d2b119038] 2011-05-21 Zed A. Shaw * .gitignore: Improved gitignore for more junk. [cd618fabf034] * Merge branch 'master' of github.com:zedshaw/mongrel2 [33d83f7e1734] 2011-05-21 Dalton Barreto * .gitignore: Basic .gitignore, more to come. [1d46df3ecf67] 2011-05-21 Zed A. Shaw * setupgit.sh: Create a simple shell script for setting common git options people need. [d139a35f622c] 2011-05-21 Dalton Barreto * README: Adding website URL to the README file. [02950f1a6dc0] 2011-05-21 Zed A. Shaw * README: Initial github commit. [8892a956aa5f] 2011-05-19 * tools/m2sh/src/constants.c: Fix pid_File in constants for m2sh. [a9408ca48b13] * docs/wiki/mongrel2.wiki: Bump platform/language count to 17. [21e6c722e2bb] * docs/wiki/mongrel2.wiki: Added the Chicken Scheme library. [5627aa3a689b] 2011-05-19 * src/io.c, src/server.c: Added cleanup for ssl stuff to the server. Fixed small ssl bugs. Added option to specify ciphers. Moved ssl initialization stuff into its own function. [c06a644b5b9b] 2011-05-19 * src/polarssl/LICENSE: Add the PolarSSL exception license for documentation purposes. [5f3ecf2dcc8a] * docs/wiki/mongrel2.wiki: Update with new java handler and add credits for new contributors. [82c9bd24684f] 2011-05-19 * tests/runtests.sh: Stupidly added a debugging echo to runtests and forgot to remove it [6255dd3f1c1d] * src/connection.c, src/connection.h, src/crypto/aes.c, src/crypto/bigint.c, src/crypto/bigint.h, src/crypto/bigint_impl.h, src/crypto/crypto.h, src/crypto/crypto_misc.c, src/crypto/hmac.c, src/crypto/md2.c, src/crypto/md5.c, src/crypto/rc4.c, src/crypto/rsa.c, src/crypto/sha1.c, src/io.c, src/io.h, src/polarssl/CMakeLists.txt, src/polarssl/Makefile, src/polarssl/aes.c, src/polarssl/aes.h, src/polarssl/arc4.c, src/polarssl/arc4.h, src/polarssl/base64.c, src/polarssl/base64.h, src/polarssl/bignum.c, src/polarssl/bignum.h, src/polarssl/bn_mul.h, src/polarssl/camellia.c, src/polarssl/camellia.h, src/polarssl/certs.c, src/polarssl/certs.h, src/polarssl/config.h, src/polarssl/debug.c, src/polarssl/debug.h, src/polarssl/des.c, src/polarssl/des.h, src/polarssl/dhm.c, src/polarssl/dhm.h, src/polarssl/havege.c, src/polarssl/havege.h, src/polarssl/md2.c, src/polarssl/md2.h, src/polarssl/md4.c, src/polarssl/md4.h, src/polarssl/md5.c, src/polarssl/md5.h, src/polarssl/net.c, src/polarssl/net.h, src/polarssl/openssl.h, src/polarssl/padlock.c, src/polarssl/padlock.h, src/polarssl/rsa.c, src/polarssl/rsa.h, src/polarssl/sha1.c, src/polarssl/sha1.h, src/polarssl/sha2.c, src/polarssl/sha2.h, src/polarssl/sha4.c, src/polarssl/sha4.h, src/polarssl/ssl.h, src/polarssl/ssl_cli.c, src/polarssl/ssl_srv.c, src/polarssl/ssl_tls.c, src/polarssl/timing.c, src/polarssl/timing.h, src/polarssl/version.c, src/polarssl/version.h, src/polarssl/x509.h, src/polarssl/x509parse.c, src/polarssl/xtea.c, src/polarssl/xtea.h, src/server.c, src/server.h, src/ssl/asn1.c, src/ssl/cert.h, src/ssl/config.h, src/ssl/crypto_misc.h, src/ssl/gen_cert.c, src/ssl/loader.c, src/ssl/openssl.c, src/ssl/os_port.c, src/ssl/os_port.h, src/ssl/p12.c, src/ssl/private_key.h, src/ssl/ssl.h, src/ssl/tls1.c, src/ssl/tls1.h, src/ssl/tls1_clnt.c, src/ssl/tls1_svr.c, src/ssl/version.h, src/ssl/x509.c, tests/connection_tests.c, tests/dir_tests.c, tests/filter_tests.c, tests/io_tests.c, tests/response_tests.c, tests/runtests.sh, tools/filters/test_filter.c, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c: Switched axTLS for polarSSL [b0a56d6b80bc] 2011-05-17 * tests/filter_tests.c, tools/filters/Makefile, tools/filters/test_filter_a.c, tools/filters/test_filter_b.c, tools/filters/test_filter_c.c: More tests to check the Filter_run() logic. Check the ability stop the filter call chain. [cd86acab2b1c] 2011-05-17 * src/filter.c, src/filter.h, tools/filters/Makefile: Make filters run until one changes state, add load_path to Filter for better error reporting. [e275ce1dd4ef] * examples/python/mongrel2/config/model.py: Realign the python mongrel2 config schema to m2sh. [1d5885f8dc81] * examples/python/mongrel2/sql/config.sql: Update the python config.sql. [f61e03e6e8f0] * docs/manual/managing.tex: Small change to the manual for doing an exact match routing pattern. [40f0f57f3455] 2011-05-17 * tools/filters/Makefile: Pass -f to rm so it doesn't complain about non-existant test_filter.so [e666a6245ad1] 2011-05-16 * Makefile, src/connection.c, src/connection.h, src/events.h, src/filter.c, src/filter.h, tests/filter_tests.c, tools/filters/Makefile, tools/filters/test_filter.c: First cut of filters feature with working filter and minimal unit test. [7de072f464d2] 2011-05-13 * docs/manual/commands.tex: Bad options was showing up in the output. [dbe8df131fa2] * docs/manual/commands.tex, docs/manual/inputs/bbs_client_socket.py, docs/manual/inputs/json_xml_socket_grammar.py, docs/manual/managing.tex: Closes [8506d37df4] by documenting the JSON/XML routing syntax. [f942082c07b6] * docs/manual/inputs/procer_handlertest_run.sh, docs/manual/inputs/procer_mp3stream_run.sh, docs/manual/inputs/procer_script_for_chat_demo.sh, docs/manual/inputs/procer_web_run.sh, docs/manual/managing.tex: Closes [9b405ffacb] by adding nohup and mentioning it doesn't work in some places. [b3d5d8ee197b] 2011-05-12 * docs/wiki/mongrel2.wiki: Bring Brubeck back and make a Frameworks section for the front page. [134054ff75d7] * docs/cn/wiki/GettingStarted.wiki, docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/lt/wiki/GettingStarted.wiki, docs/lt/wiki/mongrel2.wiki, docs/pt/wiki/GettingStarted.wiki, docs/ru/manual/installing.tex, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/version.h: Version bump to the docs for 1.6 release. [42e37b627ef4] [v1.6] * docs/manual/inputs/parsing_reqs_tnetstrings.py: Demo code for parsing via tnetstrings. [79800b02b15e] * docs/wiki/mongrel2.wiki: Add java support in list, shorten the first blurb. [66cae6b0fb38] * docs/manual/hacking.tex, docs/manual/inputs/install_dependencies.sh, docs/manual/inputs/parsing_mongrel2_reqs.py, docs/manual/inputs/simple_python_zmq_client.py, docs/manual/inputs/simple_python_zmq_server.py, docs/manual/inputs/zmq_req_rep_client.py, docs/manual/inputs/zmq_req_rep_server.py, docs/manual/managing.tex: Updated the manual to match the pending 1.6 release. [233d9cfc49e9] * src/mongrel2.c: Avoid running the cleanout at all if all the settings are 0. [d32820efeb48] 2011-05-11 * Makefile, src/config/config.c, src/host.c, src/routing.c, src/server.c: Fixed handler reloading so that they are actually set to active/inactive. Tons of logging for later work. [4ba5dd622019] * src/version.h: Version bump in prep for 1.6 release. [b9be1b84a030] * docs/manual/installing.tex: Use 2.1.4 not 2.1.6 zmq. [13fcaafc6d9e] * src/adt/darray.c, src/task/fd.c, tests/routing_tests.c: Updated the routing tests to reflect what's really going on in the routing code now. [878387e26cef] * docs/manual/contributing.tex: Change the contributor section. [b0717fd4fc1f] 2011-05-09 * Makefile, docs/manual/contributing.tex, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/inputs/changing_mimetypes.conf, docs/manual/inputs/changing_settings.conf, docs/manual/inputs/cloning_mongrel2_source.sh, docs/manual/inputs/first_mongrel2_run.sh, docs/manual/inputs/generating_responses.py, docs/manual/inputs/http_response_python_code.py, docs/manual/inputs/install_dependencies.sh, docs/manual/inputs/install_procer.sh, docs/manual/inputs/load_simple_config.sh, docs/manual/inputs/make_deployment_directories.sh, docs/manual/inputs/parsing_mongrel2_reqs.py, docs/manual/inputs/procer_config_for_mongrel2.sh, docs/manual/inputs/procer_handlertest_run.sh, docs/manual/inputs/procer_mp3stream_run.sh, docs/manual/inputs/procer_script_for_chat_demo.sh, docs/manual/inputs/procer_web_run.sh, docs/manual/inputs/python_control_port.py, docs/manual/inputs/run_procer_chat_demo.sh, docs/manual/inputs/run_procer_first_time.sh, docs/manual/inputs/running_procer_with_chat_demo.sh, docs/manual/inputs/sample_m2sh_commands.sh, docs/manual/inputs/sample_m2sh_run.sh, docs/manual/inputs/setting_up_static_content.sh, docs/manual/inputs/simple_python_zmq_client.py, docs/manual/inputs/simple_python_zmq_server.py, docs/manual/inputs/skeleton_procer_setup.sh, docs/manual/inputs/starting_stopping_reloading.sh, docs/manual/inputs/testing_initial_config.sh, docs/manual/inputs/testing_procer_setup.sh, docs/manual/inputs/updating_your_checkout.sh, docs/manual/inputs/using_procer_to_run_mongrel2.sh, docs/manual/inputs/zmq_req_rep_client.py, docs/manual/inputs/zmq_req_rep_server.py, docs/manual/installing.tex, docs/manual/managing.tex, docs/manual/pastie.sty, docs/manual/preamble.tex, examples/configs/mongrel2.conf, examples/configs/sample.conf: Reworked the manual to use dexy for generating color source and make including external text easier. [f1d9aa9f2c37] 2011-05-05 * src/register.c, src/register.h: Allow disabling the timeouts by setting them to 0. [6f480ee4a334] 2011-05-04 * src/connection.c, src/connection.h, src/dir.c, src/mongrel2.c, src/register.c, src/register.h, src/server.c, src/task/fd.c: Timeouts and idle kills working much better with settings for tweaking. [7554e07abb70] 2011-05-03 * src/connection.c, src/mongrel2.c, src/register.c, src/register.h, src/server.c, src/superpoll.c, src/task/fd.c: Timeouts working in an aggressive really bad way, but working. Will fix up in the next commit. [fded10058c86] 2011-04-27 * tools/m2sh/src/constants.c: Got the SQL wrong on the new cache ttl, caused a memory segfault. [fbbb62f14e13] * src/connection.c, src/io.c: First cut at fixing a few IO bugs. [ec37909aee72] 2011-04-26 * src/server.c, tests/server_tests.c: fixes ea23f3f8e0. Now mongrel2 falls back to default_host when req->host_name is not registered. [9c7230d71be8] 2011-04-26 * src/config/config.c, src/config/config.sql, src/dir.c, src/dir.h, tests/connection_tests.c, tests/dir_tests.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h: make the dir cache ttl configurable (default: 0) [0086e0e78cd5] 2011-04-25 * src/handler.c: Fix bformat args in Handler_notify_leave [6afac96fd436] 2011-04-25 * Another merge? WTF? [59f960bf7cff] * src/connection.c: Merge in jasom changes. [24d9088a8ba2] 2011-04-25 * src/connection.c: Fix possible double-free on error case [59208b990ac7] 2011-04-24 * src/adt/darray.c, src/adt/darray.h, src/register.c, src/register.h, src/request.c, tests/dir_tests.c, tests/request_tests.c, tests/response_tests.c: Switch the register stuff over to the darray, now can make it dynamic and cleaner. [1a2d975f4f72] 2011-04-24 * src/server.c: Fixed typo in message when checking default_host->matching [90d63dc46b36] 2011-04-24 * tools/m2sh/src/commands.c: Implements a better output for 'map' style control port responses. [c2ac51779ed6] 2011-04-23 * src/adt/darray.c, src/adt/darray.h, tests/darray_tests.c: Implemented a simple darray for improving some list_t uses. [50cc311d2383] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html: Book updates from running make. [154af2da49bd] * tools/m2sh/src/commands.c: fixes [81c52d20da] giving a better error message when m2sh can't find your server [21c9cc7d789b] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/managing.tex: fixes [b715c84fb7] another simple doc fix. [bd3d96e53378] * docs/manual/managing.tex: fixes [ce9db4e4e4] small doc fix. [a502440235a3] * src/config/config.c, src/host.c, src/host.h, src/server.c, tests/connection_tests.c, tests/host_tests.c, tests/server_tests.c, tools/m2sh/src/config_file.c: Should fix [93af1576793], [9246c98a9c], [ea23f3f8e0] by having matching work always but fallback to name. Needs docs though. [0f63071ff354] 2011-04-22 * src/response.c: Should fix [29e89e4e3b] since 304 shouldn't have content-type anyway. [cb74f728633b] * src/adt/tst.c, src/config/config.c, src/log.c, src/register.c, tests/request_tests.c, tools/m2sh/src/config_file.c: Remove a bunch undef NDEBUG that aren't needed. [cacd2562a802] * src/config/config.c: Don't bother doing a stop on handlers that are not even active. [5661211bd2b1] * src/config/config.c: closes [824b91d6ef94] by loading all handlers but not activating them if they aren't used. [1e14852e1121] * src/config/config.c, src/config/config.h, src/control.c, src/handler.c, src/mongrel2.c, src/register.c, src/task/task.c, src/tnetstrings.c, src/tnetstrings.h, src/tnetstrings_impl.h: More fixes on control port and a new info command. [0deecd9adde3] 2011-04-20 * examples/python/mongrel2/control.py, examples/python/setup.py: Added control port capabilities to the Python handler API. [d803ffa3e250] * src/handler.c: Make the disconnect message honor the tnetstring setting on handlers too. [5e4bfd613ec9] * Makefile, src/connection.c, src/control.c, src/control.rl, src/handler.c, src/register.c, src/register.h, src/server.c, src/task/fd.c, src/task/task.c, src/task/task.h, src/task/taskimpl.h, src/tnetstrings.c, src/tnetstrings.h, src/tnetstrings_impl.h, tools/m2sh/src/commands.c: Big changes for the new tnetstring based control port. [72d99e16f735] 2011-04-18 * Merge changes from mongrel2.org/trunk [d94435b3e435] 2011-04-18 * src/tnetstrings.c: tnetstring: prevent possible double-freeing of list/dict items [9d7b49e15ffa] 2011-04-17 * Makefile, docs/ru/manual/Makefile, examples/procer/Makefile, tools/m2sh/Makefile: Put it back at /usr/local [76516bf8e885] * Fixes merged in for control logs. [b4d8e7942ddd] * Makefile, examples/procer/Makefile, src/ssl/config.h, tools/m2sh/Makefile: Trying using /usr instead of /usr/local, we'll see if this hurts. [a8331c549cd5] * Merge in Sabing patch. [d04fb5657465] * Makefile: Patch from Sabin for better cleanup. [47dd6bd3377b] 2011-04-17 * src/mongrel2.c, src/server.c: Check default_host configuration consistency before turning into a daemon [39a9a6627136] 2011-04-16 * src/config/config.c: Check log messages was still with mixed addr/port values [07279c2390ff] 2011-04-14 * examples/python/mongrel2/tnetstrings.py: Added some additional enforcement to tnestrings python. [808a6fcf3cde] 2011-04-12 * examples/python/mongrel2/sql/config.sql, src/config/config.sql, tools/m2sh/src/constants.c: Chaning the default_host type to TEXT from INTEGER, since that's what's getting stored anyway [d9987efb70e3] 2011-04-12 * src/config/config.c: Merged in from galdor. [6de40340d5e4] 2011-04-12 * src/config/config.c: close 9b0d4f91fa: fix log message [1648b8b9f51c] 2011-02-07 * examples/procer/Makefile: make the procer Makefile build if necessary when installing [4e9ca79e753d] 2011-04-11 * src/handler.c, src/mongrel2.c, src/task/fd.c: Much cleaner shutdown operation working. [0b8affcb7b5a] 2011-04-10 * src/handler.c, src/mongrel2.c, src/superpoll.c, src/task/fd.c, src/task/task.h: A better way to shutdown clean using 'signals'. [1da10a7e02f7] 2011-04-09 * src/mongrel2.c: Stop lying about trying to use the old configuration. [07337c1b4d5c] * examples/python/mongrel2/tnetstrings.py, src/mongrel2.c: Slightly better working shutdown. [30ec296d4666] 2011-04-09 * src/config/config.c: Fix for backend's not having unique ids [06c7c5a0f8e9] 2011-04-08 * src/log.c, src/task/fd.c: Updating some ZMQ_LINGER settings. [1c47551b051c] * src/config/config.c, src/config/config.h, src/dir.c, src/dir.h, src/mongrel2.c, src/proxy.c, src/proxy.h, tests/handler_tests.c: Shutdown and reload rework so it's more reliable, but actual termination not working yet. [d9c4c8b776f0] 2011-04-06 * src/adt/tst.c, src/routing.c, tests/tst_tests.c: Additional prefix fixes. [2d030486903f] * src/adt/tst.c, tests/tst_tests.c: Additional edge case tests for suffix and prefix. [05427eb26296] * src/adt/tst.c, tests/tst_tests.c: Much better prefix and suffix matching. [c5a64ce09c6c] 2011-04-05 * src/tnetstrings.c: Really screwed up checks for some tnetstring types. [d5930fa6d776] 2011-04-02 * Merged in proxy must die and now tnetstrings are going. [fb3be19ad6fb] * examples/chat/chat.py, examples/python/mongrel2/request.py, examples/python/mongrel2/tnetstrings.py, examples/python/tnetstrings.py, src/config/config.c, src/config/config.sql, src/connection.c, src/handler.c, src/handler.h, src/request.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h: Handlers can now be tnetstring enabled optionally, and the python library handles both JSON or tnetstrings dynamically.{ [a7c7bdfafbe8] 2011-03-31 * docs/wiki/GettingStarted.wiki, docs/wiki/TranslatorGuide.wiki, docs/wiki/mongrel2.wiki: Last of the references to the manual and now converted out of fossil. [3ecebbd2f7a9] * docs/manual/Makefile, docs/manual/book-final10.html, docs/manual /book-final2.html, docs/manual/book-final3.html, docs/manual/book- final4.html, docs/manual/book-final5.html, docs/manual/book- final6.html, docs/manual/book-final7.html, docs/manual/book- final8.html, docs/manual/book-final9.html: Manual working and deployable. [6b6bd285df21] * docs/manual/Makefile, docs/manual/book-final10.html, docs/manual /book-final2.html, docs/manual/book-final3.html, docs/manual/book- final4.html, docs/manual/book-final5.html, docs/manual/book- final6.html, docs/manual/book-final7.html, docs/manual/book- final8.html, docs/manual/book-final9.html, docs/manual/book.wiki: Moving the manual so it's served static. [2d851bab6aaf] * docs/wiki/Donate.wiki: Had to change up the donation page and stuff with the new wiki format setting. [b5482b1c7593] * docs/wiki/ConnectionStateMachine.wiki, docs/wiki/ContributorInstructions.wiki: Moving away from pure HTML for woiki pages. [ac71ce08ac17] * src/tnetstrings.c: Wtf linux, why did this compile at all? [30043da1f3ec] * tests/request_tests.c: Cleaned up request tests that thrash tnetstring and made them not leak ram. [2f69253f0382] 2011-03-30 * src/request.c: Copying into a zmq_msg_t doesn't save us any copying over this code. [dec531ff669f] * src/connection.c, src/handler.c, tests/handler_tests.c: Get rid of pointless bstring copying when sending a message. [4512563901b3] * src/log.c, src/request.c, src/task/fd.c: Got the damn ZMQ_LINGER option set. WTF. [436de30b18f5] * src/request.c, src/tnetstrings.c, src/tnetstrings.h: Moved more of the tnetstring request gen into outbuf and less bstring. [5cd0f77b18fe] * src/request.c: Missing QUERY from the tnetstring payload generator. [11388d6e69f9] * src/request.c: Fixed up request payload generation for json to escape multi-value headers. [05b8165db723] 2011-03-29 * src/tnetstrings.c, tests/request_tests.c: Corrected test to produce a good sample. [27badd9d41da] * src/tnetstrings.c, tests/request_tests.c: Fixes a few memory errors. [d42a877ae40a] 2011-03-28 * tests/request_tests.c: Create a test that tries a bunch of http requests and then generates a file for payload testing. [811bcf693679] 2011-03-28 * src/adt/hash.c, src/adt/hash.h, src/bstr/bstraux.c, src/bstr/bstraux.h, src/request.c: Merging in hash changes from trunk. [81e8de280c84] 2011-03-28 * examples/python/tnetstrings.py, src/request.c, src/request.h, src/tnetstrings.c, src/tnetstrings.h, src/tnetstrings_impl.h, tests/and_suite/ex_httpd_tst_16, tests/request_tests.c, tests/tnetstrings_tests.c: First cut of a request to tnetstring converter. [d52dba8bb12b] 2011-03-27 * src/tnetstrings.c, src/tnetstrings_impl.h: Cleaned up code with full checks and a few potential bugs. [351657814bcb] * src/tnetstrings.c, src/tnetstrings.h, src/tnetstrings_impl.h, tests/tnetstrings_tests.c: Fully working and tested rfk version of the tnetstrings code, with roundtrip for all datastructures. [1727a300425c] * src/adt/hash.c, src/bstr/bstraux.c, src/bstr/bstraux.h, src/request.c: Move the bstr_hash_func to a shared location. [c90d248ac0ca] * src/adt/dict.h, src/adt/hash.h, src/adt/list.h: Apparently you can set this for the adt kazlib stuff and it'll use macros for many operations. [9888082e6851] 2011-03-26 * src/tnetstrings.c, src/tnetstrings.h, tests/tnetstrings_tests.c: Initial port of rfk's tnetstrings, missing list and hash stuff though. [0925fccce99b] 2011-03-25 * examples/python/tnetstrings.py, src/tnetstrings.c, tests/tnetstrings_tests.c: Fixes memory leaks and starts some testing. [eac24fae9a5a] * examples/python/tnetstrings.py, src/request.c, src/task/net.c, src/tnetstrings.c, src/tnetstrings.h, tests/tnetstrings_tests.c: Implementation of tnetstrings and cleanup of the request code for it. [a3d9c2e91177] * Makefile: Adds DESTDIR to makefile. [02db1f153f7b] 2011-03-21 * src/adt/hash.c, src/adt/hash.h, src/request.c, src/server.c: Fixing up adt hashing some more. Chosen 32bit hash provided no issues. Fixed small leak in server handle. [dbb93d5e6777] 2011-03-20 * Merged in proxymustdie code now that it's stable. [d14392979f2a] * src/io.c, src/register.c, tests/io_tests.c: Cleaned up the IO more and then got the read/write accounting working. [ae7e00c0b080] * src/connection.c, src/io.c, tests/io_tests.c: Merged with trunk and fixed up so that the unit tests work with new IOBuf code. [879bc025b7fc] 2011-03-14 * src/bsd_specific.c, src/connection.c, src/io.c, src/io.h, src/proxy.c, src/proxy.h, src/upload.c, tests/io_tests.c, tests/response_tests.c: Started cleaning up the proxy code some more. [8f8c75e9e1e9] * Create new branch named "proxymustdie" [14d8a8805f3c] 2011-03-20 * src/request.c: Changing up json_escape to be a bit faster. [0addc5a65c65] * src/request.c: Fixing some left overs. [78125b48fac8] * src/connection.c, src/request.c, tools/m2sh/src/cli.c: Performance tuning. Changing hash function. Changing payload generation. Fixed small bug with x-forwarded-for. [59bd17103459] 2011-03-20 * src/bsd_specific.c, src/register.c, tests/register_tests.c: Make aidenn's fix work, needs to be checked out further. [43042e0e2624] 2011-03-12 * src/register.c: Workaround for race condition when handler requests a close [09de5e8fece2] 2011-03-11 * src/io.h: Patch for BSD platforms. [148acdd7a117] 2011-03-10 * docs/wiki/mongrel2.wiki: Updated the front page with more bamboo and common lisp. [a17c9af51854] 2011-03-08 * docs/wiki/mongrel2.wiki: Added photo to the list of projects. [b182a849d718] * Merge in SIGPIPE fixes since they seem to work. [2c0c8abbd586] 2011-03-03 * src/control.c, src/control.rl: add "uuid" command to control port, to get uuid of running server [1b2beb840ba6] 2011-02-27 * src/task/net.c: A simple debug log to see if connect failures are getting interrupted and not handled. [bdfefcb8886b] 2011-02-25 * Makefile, src/bsd_specific.c, src/task/asm.S, src/task/context.c, src/task/taskimpl.h: Patch from jeremyevans for openbsd support, might work on net too. [f24716c81b4b] 2011-03-06 * src/mongrel2.c: Cargo culted some SIGPIPE ignoring on every front, let's see if it works. [39ae68af8243] 2011-02-21 * docs/manual/managing.tex: Forgot the bind_addr param on Server. [e9ef5a2698f3] 2011-02-16 * src/control.c, src/control.rl: Invalid %s used in format string. [a49e6380a699] 2011-02-15 * src/connection.c: Refactored the code so we can compensate for websocket 'redesigns'. [b1814809e118] * src/connection.c: Cleaned up some websocket code to use check() macros. [eeefd5a16e64] 2011-02-15 * src/connection.c: Cleaned up the commit to remove dead code and incorrect comments. [61b73c87d144] * src/connection.c: WebSocket protocol check to send request body to the handler. Does not perform handshake natively. [cd487fe540e6] 2011-02-14 * src/adt/tst.c: fix off-by-one error in tst_search_suffix [57b94f23ec7c] * tests/routing_tests.c: add failing testcase for reverse route matching [4f341120e387] * src/mongrel2.c: fix off-by-one error in reported count of pending connections [f23be7373b8d] * src/register.c, src/register.h: have Register_info() include the connection type in its report [69a837ab4a22] 2011-02-12 * src/mongrel2.c, src/register.c, src/register.h: Use the ticker to keep a loose idea of time, then use that to avoid calling time() all over. Display 0 or delta for times in status. [1983e8d64bac] 2011-02-11 * src/io.c, src/register.c, src/register.h: have register.c record and report read/write stats for each connection [334ffecf9e78] 2011-02-10 * src/control.c, src/control.rl, src/handler.c: make handler & control port tasks call mqsend with ZMQ_NOBLOCK flag Otherwise they can lock up the whole server if the underlying zmq_send blocks. [59fb15ae0855] * src/control.rl: make control "kill" command use Register_disconnect() rather than fdclose(). Previously it would leave a stale registration entry, and any new connections that re-used that fd would get booted immediately. [9a2dc691f44c] 2011-02-10 * docs/wiki/mongrel2.wiki: Added some more implementation bindings. [2ba3e75671bf] 2011-02-10 * src/control.c, src/control.h, src/control.rl, src/log.c, src/mongrel2.c: ensure all zmq sockets are closed before calling zmq_term [1630b1366e28] 2011-02-09 * docs/wiki/mongrel2.wiki: Update the languages available. [b9f0c41b6208] 2011-02-03 * tools/m2sh/src/mimetypes.csql: Add MIME type for Android apps. [54b2c4ffc94e] 2011-02-03 * src/register.c, src/register.h: Switch from a void * for the connection registration. [00d8d4b4ac44] * tests/request_tests.c: Simple fix to solaris not having %z. [65ada8d9d653] 2011-02-03 * src/connection.c, src/connection.h, src/handler.c, src/register.c, src/register.h, tests/connection_tests.c, tests/register_tests.c: have register.c track entire connection struct, not just conn_type. Specifically: - give Connection struct a 'type' member - have Registration struct store a void* - have Connection_deliver accept a Connection*, not an fd - adjust data types used in handler code [d1a9e3001f0a] 2011-02-02 * src/io.c, src/io.h: rename Dir_send => IOBuf_senfile; it's only used internally by io.c [895c38c34752] * src/io.c: fix loop condition in ssl_stream_file The 'sent' counter was not being reset for each iteration, causing it to silently drop all but the first 256 bytes. [17d466a7ffbc] 2011-01-29 * src/connection.c: Don't depend on proxies closing the connection after 204 or 304 responses. [60d30facb521] 2011-01-28 * Makefile, tools/m2sh/Makefile: Patch from darix for linker builds and --as-needed. [f22e1befed4c] 2011-01-26 * docs/ru/manual/installing.tex, docs/wiki/GettingStarted.wiki: update all docs on intalling 0mq to point to version 2.0.10 [9b50524ccd2f] * docs/wiki/ContributorInstructions.wiki: fix another `fossil user YOU password` => `fossil user password YOU` [eef8ad68a2b1] * docs/wiki/ContributorInstructions.wiki: fix order of arguments in fossil-password-changing instructions [4956ff3a59ea] * docs/wiki/ContributorInstructions.wiki: `fossil st` is ambiguous in latest fossil version; use `fossil status` instead [e14e69d79530] 2011-01-24 * src/task/net.c: An odd syntax for a switch that gcc and clang accept. [59d8f8695895] 2011-01-14 * src/task/fd.c: Attempt a recv/send before doing an mqwait on 0mq sockets. [059c28ae7b86] * src/superpoll.c: Give a better error message when there's too many handler requests going out. [bf4f2b721495] 2011-01-09 * docs/wiki/mongrel2.wiki: Put the md5 on for the release. [c20de35cce96] * docs/cn/wiki/GettingStarted.wiki, docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/lt/wiki/GettingStarted.wiki, docs/lt/wiki/mongrel2.wiki, docs/pt/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki: Version bump to 1.5 [61c6fad97382] * docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Version bump to 1.5 [47cb6af5ac1f] * Makefile: Can't include -lpthread because that causes OSX to segfault in swapcontext. Huh. [6091743522a6] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/hacking.tex: Small typo. [a8e23f4828e3] * Makefile: Some distros need to have -lpthread, need to test that this is alright on others. [2be9a407de57] * examples/python/mongrel2/handler.py: Have to set identity before doing the connect. [536fa3701b1f] * examples/procer/Makefile, tools/m2sh/src/commands.c: Invalid free on the command structure. [113c49f0bed0] * tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl: Put a trailing \n on the end of inputs so that they always parse. [d01c0b2a5c2b] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki: Updated example config showing comments. [bc419cc1e26a] * examples/configs/mongrel2.conf: A few examples of using comments in the config. [075ddc88dda6] * docs/wiki/GettingStarted.wiki: Fix for doc bug in getting started. [16e4fbb25d33] * Makefile: Change to support building with make macports. [6a62dcdf45e8] 2011-01-01 * src/server.c: SSL default cert fix from ayourtch [56314654fe17] 2010-12-22 * src/bsd_specific.c: Fix for bug 2045395ed5 from Alex Brasetvik [829d6cbfb96e] 2010-12-19 kedrot@gmail.com * docs/manual/Makefile, docs/manual/book-final10.html, docs/manual /book-final2.html, docs/manual/book-final3.html, docs/manual/book- final4.html, docs/manual/book-final5.html, docs/manual/book- final6.html, docs/manual/book-final7.html, docs/manual/book- final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex: Quotes. Also removed html files from `make clean`. [56acd062d9ef] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex: Fix for 6101d0e1ad [35d6d818a2b7] 2010-12-13 * src/task/net.c: Quick attempt at the long pause problem on accept. [730383d4444c] 2010-12-08 * src/task/net.c: Better way to have ipv4 or ipv6 addresses. [8f88355ea478] * src/task/net.c: Initial hack to work around problem with IPV6 sockaddr not working as documented. [848eec25ce3a] 2010-12-04 * src/task/context.c, src/task/taskimpl.h: Fix from ayourtch for ARM builds. [d4eb8480717d] 2010-12-03 * src/handler.c: Need this to be a warning and say what had bind failure. [29e6fecd2f7c] 2010-12-03 * src/request.c, tests/and_suite/ex_httpd_tst_21, tests/request_tests.c: Fix for ticket 1370b6299f506e17148e1467a1b11ef08ce2b26e. Modified the handling of multiple client header requests to add double quotes in resulting handler json value. [47bbfee0404a] 2010-11-29 * src/dir.c: A simpler more reliable path conversion is to always strip the prefix but put a slash in its place. [cc61bf14d50b] 2010-11-23 * src/ssl/config.h: Disabling automatic certificate creation in the ssl library to make Chrome happy [1a43ed2e8d44] 2010-11-22 * Makefile, src/connection.c, src/io.h, src/mem/halloc.c: Applying patch from tedu@openbsd.org to add Open BSD support [fad5aa5bce83] 2010-11-11 * src/task/net.c: Turn off the debug logging for the net stuff. [f36477e79ea0] * src/io.c: That debug func is ugly. [18f653cf911f] * examples/http_0mq/upload.py: Reverted back before hacking from yesterday. [1046f0e03aa5] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex: Manual updated to use ZeroMQ 2.0.10. [62dd65e2e077] * src/io.c: Need a define for the pread function to work. [3b7cec514a40] 2010-11-10 * examples/http_0mq/upload.py, src/connection.c, src/io.c: Disable the retry kills and log the hell out of what's going on. [6f9bf4b85025] * src/config/config.c, src/io.c: Make the read_all more forgiving on little reads. [a5c5f95b84f4] * examples/http_0mq/upload.py, src/connection.c, src/io.c, src/upload.c: Fixed the file Uploads, they were totally broken by me. [b6da6a8c10a2] 2010-11-09 * docs/ru/manual/hacking.tex: Translated the manual up to section 5.2.1 [4d1f4e05cf0e] 2010-11-06 * src/server.c: Added ability to have a server use ssl with the global settings by setting [uuid].use_ssl = 1 Still having some problems with loading the right certs and using them correctly [2ab9befb179e] * src/io.c, src/mongrel2.c, src/server.c: ghetto SSL interface in place, will use certs if you specify certdir and certdir/uuid.{key,crt} both exist [931c7a088e52] 2010-11-05 * src/dir.c, src/dir.h, src/io.c, src/io.h: Lots of changes. Fixes for SSL. Outsourced sendfile ops to IOBuf [e40debc98f58] 2010-11-04 * src/control.c: Recompiled control.c with -G2 [21ee56c57dfb] 2010-11-02 * src/control.c, src/control.rl: Fixed JSON encoding for control help [a2eb233eb0d3] 2010-10-28 * docs/wiki/mongrel2.wiki: Added the rack-mongrel2 [3ce64f8a0aef] 2010-10-24 * examples/python/mongrel2/request.py: Small commit to test proxy off mongrel2.org [5f148cb43706] 2010-10-23 * src/config/config.c: Need to check every return value. [3de081cb3b36] 2010-10-23 * docs/ru/manual/hacking.tex: Keep translating the guide into Russian - one more page done. [65d89e98fdb5] 2010-10-21 * src/mongrel2.c: Fixed a small mistake in a diagnostic message. [ad8abfc91539] 2010-10-19 * examples/bbs/bbs.lua, examples/bbs/db.lua, examples/bbs/engine.lua: Improved error detection and correction. [e8edcd5ebb2a] 2010-10-19 * examples/bbs/html/app.js, examples/bbs/html/site.css: Tweaks to the web UI. [fe87350f52ff] 2010-10-19 * examples/bbs/html/app.js: Protect against some simple XSS. [5c1a2e6c42f6] * examples/bbs/bbs.lua, examples/bbs/html/app.js, examples/bbs/html/bbs.js, examples/bbs/html/flash/JsSocket.hx, examples/bbs/html/flash/Makefile, examples/bbs/html/flash/jsSocket.as, examples/bbs/html/flash/jsSocket.swf, examples/bbs/html/flash/jsSocket2.swf, examples/bbs/html/fsm.js, examples/bbs/html/index.html, examples/bbs/html/js/jsSocket.js, examples/bbs/html/js/jsonStringify.js, examples/bbs/html/reset.css, examples/bbs/html/site.css, examples/bbs/html/text.css, examples/bbs/mongrel2.conf: Stuff for the BBS web interface. [554063b166f5] 2010-10-18 * examples/bbs/engine.lua: Fixed bug where the STATE entry for a connection wouldn't be cleared if an error occured. [5b6113ba6221] * examples/bbs/bbs.lua, examples/bbs/engine.lua: Refactored the engine.run() function in the Lua BBS demo [713e81ae9f7a] * examples/bbs/bbs.lua: Oops, accidentally used ui.display instead of ui.screen. [a5914ffabf57] * examples/bbs/bbs.lua, examples/bbs/ui.lua: Added some comments, fixed a bug in the main-menu case sensitivity, and split the welcome screen and name line into separate items. [15d83f148a43] 2010-10-18 * Merge in BBS changes from Twisol. Cool. [feaa555ab264] 2010-10-18 * examples/bbs/bbs.lua, examples/bbs/client.py, examples/bbs/config.lua, examples/bbs/db.lua: * Some minor logical cleanups * Created a messages iterator (in bbs.lua), used in MAINMENU['2'] * Made some prompts case-insensitive using str:upper() * Removed module('config') from config.lua to make it look more like simple configuration directives. It's now loaded into a table explicitly using loadfile and setfenv (in bbs.lua) [fa5ed8f1ae73] 2010-10-18 * docs/ru/manual/hacking.tex: Translated one more page of the Hacking section [769ede210db0] * docs/ru/manual/managing.tex: Updated the Managing section of the manual (RU) according to the latest updates. [1217cd196bf3] * docs/ru/manual/hacking.tex: Translated the first page of the Hacking section [99e4058003fa] 2010-10-18 * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/hacking.tex: Typo in the docs. [a6f94da682d5] 2010-10-17 * src/config/config.c, src/config/config.sql, src/mongrel2.c, src/server.c, src/server.h, src/task/net.c, tests/connection_tests.c, tests/server_tests.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c: Adds a new Server.bind_addr field to specify the bind address and cleans up the getaddrinfo usage so it should work more reliably on ipv6 vs. ipv4. [c5c5bac67998] * examples/bbs/bbs.lua, examples/bbs/db.lua, examples/bbs/strict.lua: Latest changes and some fixes from the deployment, added strict and a bit better error checking. [c3ae095258a9] 2010-10-17 * examples/bbs/bbs.lua, examples/bbs/ui.lua: Changes from the latest deploy. [d6a9f7179310] 2010-10-16 * docs/wiki/mongrel2.wiki: Mongrel2 1.4 is released. [d60804b3f9f1] * docs/cn/wiki/GettingStarted.wiki, docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/lt/wiki/GettingStarted.wiki, docs/lt/wiki/mongrel2.wiki, docs/pt/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Version bump to 1.4 [f22d2553fc9e] * examples/bbs/bbs.lua: Damn globals, gets me every time. [608626119fc3] 2010-10-16 * examples/bbs/db.lua: Turns out it's globals, not sidereal. Duh. [3737ccfd1586] 2010-10-16 * examples/bbs/db.lua: Apparently sidereal doesn't like being a singular client. [2e3e00b9504d] * examples/bbs/mongrel2.conf: The demo mongrel2.conf for the bbs. [c3dbc008c75f] * examples/bbs/bbs.lua, examples/bbs/db.lua: Finally inboxes are no in redis. [4379d79b819f] * examples/bbs/db.lua: Using redis for user logins. [7a78c2728806] * examples/bbs/bbs.lua, examples/bbs/db.lua: Storing messages in redis. [694505da5d5a] * examples/bbs/bbs.lua, examples/bbs/db.lua: Refactor to put data into a model. [aa3125669fa8] * Fixes to keep the server from crashing. [ba53adc08152] 2010-10-16 * examples/bbs/config.lua, examples/bbs/engine.lua: Config changes on deploy. [b8ad71975633] 2010-10-16 * examples/bbs/client.py: Generating the BBS json properly - Now you can spam your ascii art\! [c674d018c30a] 2010-10-16 * examples/bbs/client.py: Should use the @bbs target not @chat. [57a1d410b69e] * examples/bbs/bbs.lua, examples/bbs/client.py, examples/bbs/config.lua, examples/bbs/engine.lua, examples/bbs/ui.lua: A BBS demo using Lua and a simple Python client. [fcdca11d0b7a] * src/dir.c: Get rid of useless file errors. [33727bb9e873] 2010-10-15 * src/proxy.c, tests/dir_tests.c: Merged in proxy retry bug fix and Makefile tweaks. [9e6395e94762] 2010-10-15 * src/proxy.c: Do not try to invoke the parser on an empty buffer [f2c87bd0534a] 2010-10-14 * Makefile, tests/dir_tests.c: Enforce the tests on executing every time, and do not barf on passing dir_tests [a8c9953398e8] 2010-10-15 * src/log.c, src/mongrel2.c: A little logging clean up. [d25c36ceba42] * src/log.c: Error in the loggin. [e4e7f6c4a9dd] * src/log.c, src/mongrel2.c: Compensate for not being able to open the access log. [f3afd4b4fa48] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex, src/connection.c, src/proxy.c, src/proxy.h, src/request.c: Created new limits options for proxy and client read retry amounts. [3b47100c75b3] 2010-10-14 * src/connection.c, src/handler.c: Fixes a memory leak on error in handler parsing. [e2ef7199aa71] * src/proxy.c, src/proxy.h: Refactor some proxy ugliness out. [8b5690ca818b] * src/connection.c, src/io.c: Merge in fix for iobuf read errors on proxy, and fancy debug_dump. [12b94ce0537e] 2010-10-14 * src/io.h: Fix the buffer overrun in the reverse proxy read code [f145df35fdca] * src/io.c: add some debugging to trace the overflow with the proxy case [acd5bce3c92e] 2010-10-14 * src/task/context.c, src/task/qlock.c, src/task/rendez.c, src/task/task.c: Cleaning of libtask is mostly done. Much tighter and nicer. [d8321ba627ed] * src/bstr/bstraux.c, src/bstr/bstraux.h, src/ssl/gen_cert.c, src/task/net.c, tests/bstr_tests.c: Remove code that compiled weird in bstr. [9ea18305d54a] * src/crypto/crypto_misc.c, src/mem/halloc.c, src/task/fd.c, src/task/print.c, src/task/qlock.c, src/task/task.c, src/task/task.h, src/task/taskimpl.h: More cleaning, libtask doesn't need its own print crap. [63eb9556f65a] * src/task/fd.c, src/task/net.c, src/task/qlock.c, src/task/rendez.c, src/task/task.c, src/task/taskimpl.h: Cleaning up the libtask code to un-Lispify it. [dd8b29c8b7c3] 2010-10-14 * src/task/net.c: Killing some unused variables [a3682785f2b9] * src/control.c, src/control.rl: Need to close before we set the memory free! [f1e44e287748] 2010-10-14 * examples/python/mongrel2/handler.py, examples/python/mongrel2/request.py, src/connection.c, src/control.c, src/control.rl, src/handler.c, src/log.c, src/task/net.c, tests/system_tests/tnftp_tests: Fixes various memory leaks and memory management errors in zmq usage. [dd9cc21b3663] 2010-10-13 * src/log.c: Closing the zmq worker socket on thread exit. [68a422ece6cf] 2010-10-13 * src/log.c, src/log.h, src/mongrel2.c, tests/dir_tests.c, tests/response_tests.c: Implements sending access logs to an inproc: thread. Will allow this to be configurable. [7222fedd21a5] * Merging in the 0mq log work to continue it. [f602c166cb50] 2010-10-13 * src/log.c, src/log.h: Basic code for zmq access log. Not hooked up yet. Thought you might want to look-see zedas. [cda5b2673583] 2010-10-13 * src/handler.c, src/register.c: Remove spammy error logs for fd register stuff. [2f65e6038e64] * examples/http_0mq/http.py, examples/http_0mq/upload.py: Convert headers to lowercase following the new standard. [92d7d786b582] * src/request.c: And protect against someone attacking with dupes of a sacred header. [4bafffeba326] * src/request.c: Implement replace for setting request values that should only have on internally. [6e4a10c4cd24] * src/connection.c, src/headers.c, src/headers.h, src/request.c, src/request.h, src/upload.c, tests/request_tests.c: Refactored the request handling code so wecan handle duplicate headers efficiently. [4186eba1e17a] * src/adt/dict.c, src/adt/hash.c, src/adt/list.c: The test cases don't belong here. [0f00bda42a76] * src/connection.c, src/proxy.c: Need to check for -1 on httpclient parse returns. [19a819091ba5] 2010-10-12 * Merged in IPv6 support from Andrew. [160412b58807] 2010-10-12 * src/server.h, src/task/net.c: First shot at IPv6 support [cf7eb66ac49a] 2010-10-12 * src/connection.c, src/proxy.c: HudsonCI uses winstone which never sets content-length and will stream 1 character sometimes. Fixes all that and gives a warning. [0be0681a5d65] * docs/siteskin.sql: Moved the donate button to the bottom of the page. [14cf620a885f] * Makefile: First stab at a solaris target. [c8c3057befcb] * tests/system_tests/thrash.sh, tests/system_tests/tnftp_tests, tests/system_tests/wget_tests: System tests now have basic scripts for wget, tnftp, and thrashing includes them. [53bc5231ed20] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Small error in the manual. [a7b2b68c03df] * src/routing.c, src/routing.h, tests/routing_tests.c: Patterns now should only match the part of the url/pattern that has a () in it. [5b0f627bec8c] * Makefile: Fix a FreeBSD build error in m2sh. [71d31b113738] * src/connection.c, tests/bstr_tests.c: bstr_tests had the wrong main which caused build problems [2e2843b24559] 2010-10-11 * src/cache.c, src/connection.c: Code cleanup and auditing. [163ca9741286] * src/http11/http11_parser.c, src/http11/http11_parser.rl: Error in the parser prevented xml routing for policy file. [85033368a189] 2010-10-09 * src/io.c: ssl_free may message on the socket, so we have to call it before fdclose [0f03f9693e1d] 2010-10-09 * src/connection.c, src/upload.c: Error in crafting the Done header on async upload. [556ae6513916] * src/connection.c, src/connection.h, src/upload.c, src/upload.h: Cleaned up the async upload code. [948762a07ff9] * src/connection.c: More useless code removed, not even sure why that was there. [207a87f779a1] * src/connection.c, src/dbg.h, src/state.c, src/state.h, src/state.rl, tests/state_tests.c: More cleaning, removing useless parameters to connection callbacks. [3fffc4ecee71] * src/connection.c, src/connection.h, src/events.h, src/handler.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/state_tests.c: Removing more dead code. [0d6ddb4cd21f] * src/connection.c, src/dbg.h, src/state.h, src/state.rl, src/upload.c, src/upload.h, tests/state_tests.c: More cleanup and simplification of connections, started upload as a separate concept. [c8fbcdde30c5] * src/connection.c: A little cleaning. [61286d1da055] * src/connection.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/state_tests.c: Removing dead code that's not used anymore. [cf61c9c1b4d8] * src/connection.c, src/dir.c, src/handler.c, src/handler_parser.c, src/handler_parser.h, src/handler_parser.rl, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/request.c, tests/handler_parser_tests.c: Solved man different memory leaks. [ea6004f61962] * src/connection.c, src/dir.c, src/dir.h, src/host.c, src/host.h, src/io.c, src/io.h, src/request.c, src/request.h, src/routing.c, tests/dir_tests.c: Requests now are given the pattern and the prefix they are routed against. That cleans up some dir handling, probably other stuff. [ae1672d39836] * src/connection.c, src/routing.c, src/routing.h: Fix a memory leak in connection management. [3b878f75885d] 2010-10-08 * tests/system_tests/thrash.sh: Put in the thrash script for others. [b04f8d979798] * src/connection.c, src/handler.c, src/io.c, src/register.c, tests/system_tests/post_tests: Fixes registration and connection state management for the last hard iobuf bug. [c8923255e3f7] * tests/system_tests/xml_tests: XML test is randomized now. [aec7a8450f14] * src/control.c, src/control.rl: Added the fd to the status net command. [0c2864fc1684] * examples/configs/complex.conf: A more complex example config used in thrashing tests. [9ab71bc751a0] * src/connection.c, src/handler.c, src/io.c, src/register.c: Checks for various fixes. [405f7fdf8b57] * examples/http_0mq/upload.py, examples/http_0mq/xml.py, tests/system_tests/chat_tests, tests/system_tests/xml_tests: Added tests for thrashing more protocols. [f328672bc260] 2010-10-07 * src/io.c: Quick fix for segfault in ssl_recv http://www.mongrel2.org/tktview?name=54db8a85ff [a16a9f7e9e0e] 2010-10-07 * tests/system_tests/chat_tests: Changes to chat test exploit bug in iobuf code. [de7526ce4f82] 2010-10-06 * src/connection.c, src/io.c, src/proxy.c: Got stream order wrong on regular proxy send. [e1893ddfdcf4] * tests/dir_tests.c, tests/response_tests.c, tests/runtests.sh: Unit tests now passing and actually do something. [b29d58740411] * tests/dir_tests.c: Bringing the unit tests back. [038ebcc13a1e] * src/connection.c, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/http11/httpclient_parser.c, src/http11/httpclient_parser.rl, src/io.c, src/proxy.c, tests/io_tests.c: Streaming xml and json now works. [e7cd984c2ab9] * src/connection.c: Stray debug printing. [d0f25da6897b] * src/connection.c, src/dir.c, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/io.c: Working better with minor fixes for files and messages. [03c5a64e1084] * src/connection.c, src/http11/http11_parser.c, src/http11/http11_parser.rl: Make json messages parse out their content_len [206cb91ebfc3] * Big merge after refactoring to use IOBuf feature. [42883c698f30] * src/dir.c: Dir working but SSL removed so we can refactor it. [e70974ac535a] * src/connection.c, src/http11/httpclient_parser.c, src/http11/httpclient_parser.rl, src/io.c, src/io.h, src/proxy.c: Chunked encoding mostly working, actually need to test simple proxy requests. [869081b596d5] 2010-10-03 * src/connection.c, src/http11/http11_parser.c, src/http11/http11_parser.rl: Handler requests and all types of file uploads work. [c4116e096e1d] * src/connection.c, src/io.c: Oversized by under max upload handler sends working. [88dd2aa0b7f3] * src/connection.c: And now handles arbitrary streamed requests. [0a5c9da2c2ef] * src/connection.c, src/io.c, src/proxy.c, src/proxy.h, tests/runtests.sh: Handlers work and basic HTTP receiving. [0de6d5d67562] * src/connection.c, src/connection.h, src/dir.c, src/io.c, src/io.h, src/proxy.c, src/response.c, tests/connection_tests.c, tests/dir_tests.c, tests/io_tests.c, tests/response_tests.c: Code is gutted and ready to be rewritten. [f1d264fb4aff] * src/io.c, src/io.h, tests/io_tests.c: Initial IOBuf implementation. [d89b0cb2db19] * Create new branch named "iob-refactor" [e2bf9b5d75d6] 2010-10-05 * src/control.c, src/control.rl: Added new commands to the control port. It partially resolves ticket [3ce48991b29b0a8b8002e117e7cc42657bc94a71]. [7774a22d3cb2] 2010-10-03 * Merge with eimantas. [1a0297849dd7] 2010-10-03 * docs/lt/wiki/DesignCriticisms.wiki: Minor changes and typo fixes for Lithuanian DesignCriticisms wiki page. [3eeeb59394c3] * docs/lt/wiki/DesignCriticisms.wiki: Initial Lithuanian translation of DesignCritisism wiki page. [552f986cb97e] 2010-10-03 * docs/wiki/TranslatorGuide.wiki: Some additions to the TranslatorGuide.wiki [53194b090d17] 2010-10-03 * docs/wiki/GettingStarted.wiki: Added Lithuanian translation. [bf8bde95db93] 2010-10-03 * docs/lt/wiki/ConnectionStateMachine.wiki, docs/lt/wiki/ContributorInstructions.wiki, docs/lt/wiki/DesignCriticisms.wiki, docs/lt/wiki/Donate.wiki, docs/lt/wiki/Donors.wiki, docs/lt/wiki/GettingStarted.wiki, docs/lt/wiki/License.wiki, docs/lt/wiki/Thanks.wiki, docs/lt/wiki/TooBad.wiki, docs/lt/wiki/TranslatorGuide.wiki, docs/lt/wiki/mongrel2.wiki: Initial commit with Lithuanian translation of GettingStarted [7847fd0afab6] 2010-10-03 * docs/wiki/TranslatorGuide.wiki: Fix TranslatorGuide. [60470949df9f] * docs/wiki/TranslatorGuide.wiki: Fix TranslatorGuide. [8cd1f5212541] * docs/wiki/TranslatorGuide.wiki, docs/wiki/mongrel2.wiki: Added TranslatorGuide. [ab828fcdf19b] * docs/cn/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki: Added Chinese getting started. [43e829174e1f] 2010-10-02 * tools/m2sh/src/config_file.c: Make raw_payload really optional. [a24406ea9f6d] * src/connection.c: Remove the code that causes errors in parsing. [4ab63c9d5e09] * src/config/config.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.c, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: Incorrect loading of the config that caused duplicate backends records in the db. [50e792d48367] * src/connection.c: Off by one error on the socket reading, probably still not totally good. [5d09e52dabc0] 2010-10-01 * src/connection.c: Quick and dirty fix to buffer handling, need to *really* do this better. [c9e128c2cc0b] * src/connection.c, src/headers.c, src/headers.h, src/http11/http11_parser.c, src/http11/http11_parser.h, src/http11/http11_parser.rl, src/request.c, src/request.h: Fully normalized XML or JSON socket routing along with HTTP. [de0dbe2c2e1d] 2010-10-01 * src/mongrel2.c: Changed the usage string that is displayed when running directly (not via m2sh) without arguments. It was a bit misleading [1b2b41acf59a] * docs/manual/deploying.tex: A couple of fixes in the manual. [254d6eac8dde] * docs/ru/manual/deploying.tex: Translated the Deploying section of the manual into Russian [c96cbdfc41b6] 2010-10-01 * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki: Updated all language docs with latest instructions. [909f037c256b] * docs/pt/wiki/GettingStarted.wiki: Added .pt translation. [084ccbc1b08f] * examples/python/mongrel2/handler.py, examples/python/mongrel2/request.py: Implemented close/deliver_close/should_close for python library. [0964c71f2a66] * src/config/config.c, src/config/config.sql, src/handler.c, src/handler.h, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h: Add Handler.raw_payload optional flag. [46e0c17b76f7] 2010-09-30 * src/http11/http11_parser.c, src/http11/http11_parser.rl, src/http11/httpclient_parser.c, src/http11/httpclient_parser.rl, tests/and_suite/json_socket_tests, tests/http11_tests.c: Allow json or xml, still need to solve two things. [9bbe60d3d321] * src/request.c: Escape all the headers. [6554a697b8eb] 2010-09-29 * docs/fr/wiki/GettingStarted.wiki: French GettingStarted updated. [f13e2a4b92e2] * docs/wiki/mongrel2.wiki: 1.3 released. [b7b79bd2a390] * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Updated for the 1.3 release. [e6674f70bfb2] * src/task/task.c: Squash signed/unsigned complaint. [49a54345cb50] * src/connection.c: type-punned alias strict mode enforcement of aliased type punning dereference mode disabled gcc has. [5578bc5d7a6e] * Makefile: Fix for freebsd. [ec831d0216d7] * src/connection.c, src/control.c, src/handler_parser.c, src/http11/http11_parser.c, src/http11/httpclient_parser.c, src/http11/httpclient_parser.h, src/http11/httpclient_parser.rl, src/state.c: Fixes the fossil connection:close in http1.0 problem. [f421b7fe6e4b] 2010-09-28 * docs/wiki/GettingStarted.wiki: Put the French translation on the main page. [2a2f189ddda4] 2010-09-27 kedrot@gmail.com * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/introduction.tex: Zed!!! [53f8b346a2a6] 2010-09-27 * docs/wiki/ContributorInstructions.wiki: Remove github references because they can't take a joke. It's like dealing with the Enterprise all over again. [f87a3db0c972] * docs/wiki/ContributorInstructions.wiki, tests/runtests.sh, tools/m2sh/tests/runtests.sh: Damn test script just has to be this way for the BSDs. [8ded25c67502] * docs/wiki/ContributorInstructions.wiki: More contributor docs. [6f1aefddd429] * docs/wiki/ContributorInstructions.wiki: Typo in contributor docs. [6135da6b9e3e] * docs/wiki/ContributorInstructions.wiki: Typo in contributor docs. [157536f786cb] * docs/wiki/ContributorInstructions.wiki, docs/wiki/mongrel2.wiki: Contributor docs are up. [8444c7a1a0c5] 2010-09-27 * src/task/task.c: Increase the stack size on FreeBSD [060afaca0d67] * src/bsd_specific.c: Fix sendfile on FreeBSD. [28837055fa90] 2010-09-27 * Makefile, tools/m2sh/Makefile: Use dev build for BSDs so we can work on them. [4b7d3f8e0d56] * Makefile: Pass the OPT flags to the m2sh make. [1566563efd8a] * Makefile, tests/runtests.sh, tools/m2sh/Makefile, tools/m2sh/tests/runtests.sh: Fixes because bsd sh is idiotic stupid. [b89649c9cef1] * Makefile, docs/manual/book-final10.html, docs/manual/book- final2.html, docs/manual/book-final3.html, docs/manual/book- final4.html, docs/manual/book-final5.html, docs/manual/book- final6.html, docs/manual/book-final7.html, docs/manual/book- final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex, src/bsd_specific.c, src/dir.h, src/superpoll.c: Fix installing instruction formatting. [07f32f125437] * src/bsd_specific.c, src/bsd_specific.h, src/dir.h, src/mac_specific.c, src/mac_specific.h: Renamed mac to bsd so we can target freebsd and netbsd. [c967e7a7205d] * src/dir.h, src/mac_specific.c, src/mem/halloc.c: Fixes for working on FreeBSD. [50d5b367f1c8] 2010-09-26 * Makefile, tools/m2sh/Makefile, tools/m2sh/src/commands.c: OSX don't have libuuid, but it's got uuidgen. [7ff016f1d44b] 2010-09-26 * tools/m2sh/Makefile, tools/m2sh/src/commands.c: Added uuid command to m2sh. [44125983a9ed] * docs/manual/deploying.tex: Fixed a couple of inconsistencies in the 'Deploying' section of the manual: * Replaced `make clean all install` with `make clean all && sudo make install` * `m2sh load` was missing in the deployment plan command list, so I added one [e3c889970820] 2010-09-26 * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex, docs/wiki/GettingStarted.wiki: Small errors in command documentation. [b384bea9deff] 2010-09-25 * src/dbg.h, tools/m2sh/Makefile: mongrel2 should have line numbers in log messages, m2sh should not. [ac39c7a2890e] 2010-09-24 * docs/wiki/mongrel2.wiki: Updated main page for new release. [896b0bba5da8] * docs/wiki/mongrel2.wiki: Mongrel2 v1.2 released. [998e0e1ef0d4] * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Vesion bump to 1.2 [e2b395798d75] * src/routing.c, src/routing.h: Fix for matching against routes that don't have a pattern in them. [ebca14764fc3] * src/connection.c: Refactor and correct check for HTTP/1.0 [6a3d9b5db5a1] * src/connection.c, src/connection.h, src/headers.c, src/headers.h: Connection:close and HTTP 1.0 should now be handled. [91dd7fe1e71c] * src/connection.c: Added X-Forwarded For header. [d6777081a948] * src/response.c, src/response.h: 304 should not have a body. [1b57ee216968] * src/dbg.h, tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c: Mimetypes and settings were totally loads wrong so 2 servers loaded them twice. [c90b3062c229] * docs/manual/preamble.tex: Savetrees only for PDF. [e1c7621ecf5c] * docs/manual/preamble.tex, tools/m2sh/src/ast.c: Softer error on missing requested variable. [63b66c259bd2] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Clarify using m2sh in the manual to work with tests/config.sqlite. [34427e48c2e0] * tools/m2sh/src/commands.c: Usage line shouldn't mention extras since not used yet. [1a37aa6ccf3c] * src/dbg.h, tools/m2sh/src/commands.c: Cleaned up error reporting and added log_warn. [5692a7fc9750] * tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c: More cleaned up error messages and checks. [6b5d9f1e6a68] * src/adt/tst.h, tools/m2sh/src/ast.c, tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c: Better error message on command line parsing failures. [e429c830365c] * tests/superpoll_tests.c: Error on some clocks that are a bit off or too fast. [8c0cbb6df7d0] 2010-09-23 * docs/ru/manual/managing.tex: Updated the 'managing' section of the russian manual according to the recent changes in m2sh [f1859ab98722] 2010-09-23 * tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl: Better error messages for syntax errors. [6f8b134b6dd3] * tools/m2sh/src/ast.c, tools/m2sh/src/config_file.c: Some errors that happen with bad config files. [2f9ec0a11085] * tools/m2sh/src/ast.c: And now no more memory leaks. [e2fd00efb56f] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.c, tools/m2sh/src/config_file.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y, tools/m2sh/tests/parser_tests.c: Ditched the hash in favor of the tst since it'll make nicer debug messages and is easier for parsing. [b52e85902947] 2010-09-22 * tools/m2sh/src/commands.c: Got the logic wrong on default params. [65c15198ac69] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Fix up for the way host command now works in m2sh. [1511edcc4a61] * tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: All that remains is some stray tokens. [5bea1e5e1edf] * tools/m2sh/src/token.h: Missing file. [dcf010e77a5e] * tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: Some more memory leaks in parser, may need to use tst instead of hash. [980619866177] * src/config/db.c, tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl: Leaks squashed everywhere except in the parser. [117b53b9bda8] * tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl: A few more memory leaks, only a few left. [fd25de715f56] * tools/m2sh/src/commands.c: A few more memory leaks, only a few left. [80ef9043b3d7] * tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/token.c: Default to shell when nothing given. [5d3064832e77] * tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c: Fixed segfault when nothing given. [b8c62a9f79e9] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/cli.c, tools/m2sh/src/cli.h, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c, tools/m2sh/src/commands.h, tools/m2sh/src/config_file.c, tools/m2sh/src/config_file.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y, tools/m2sh/src/token.c, tools/m2sh/tests/parser_tests.c: Squashed a bunch of ram leaks, more to come. [2f1106ad71aa] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Fixing the docs for some m2sh changes. [52a74a8f83b6] 2010-09-21 * docs/ru/manual/Makefile, docs/ru/manual/installing.tex, docs/ru/manual/introduction.tex, docs/ru/manual/managing.tex: Updated the manual in Russian (sections translated so far) according to the latest transition from m2sh-py to m2sh-c [3fbb82785022] 2010-09-21 * Makefile: Changed Makefile to use make -C instead of cd ... && make. [b89c0740eab6] 2010-09-21 * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki: Updated config example. [bac77f41cc00] * examples/configs/sample.conf: Damn example config failed. [8a8c97f43fe0] * docs/wiki/mongrel2.wiki: Mising digit on the md5. [b48bc64a0df3] * docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki: Version 1.1 released. [53d5f706daf3] * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/fr/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Version bump. [d254df265049] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/managing.tex, docs/ru/manual/deploying.tex: More changes to migrate to m2sh. [30d889a9d127] * docs/wiki/GettingStarted.wiki: Updated getting started. [2aa871150aa8] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/hacking.tex, docs/manual/managing.tex: More migration to m2sh-c [006e494e5161] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/introduction.tex, docs/manual/managing.tex: Updated to reflect the new m2sh. [d12a1a64ad2e] * examples/python/bin/m2shpy, examples/python/setup.py: Python m2sh is now m2shpy. [bf1e91f2e66b] * tools/m2sh/src/ast.c: Needed to check the type after REF resolve. [a7483fe3f911] * examples/configs/any.conf, examples/configs/any_conf.py, examples/configs/mongrel2.conf, examples/configs/mongrel2_org.py, examples/configs/multi.conf, examples/configs/multi_conf.py, examples/configs/sample.conf, examples/configs/sample_conf.py, examples/python/bin/m2sh, examples/python/bin/m2shpy: New config file format used. [1d52bc80e585] * tools/m2sh/src/commands.c: The control port is working, and now m2sh has the same features as the python one. [45d2a1202fb4] 2010-09-19 * src/bstr/bsafe.c, src/bstr/bsafe.h, tools/m2sh/src/linenoise.c: Commenting out bsafe for strdup so linenoise will run on OSX. [a869516c91c0] * docs/manual/book-final10.html, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex: Quick warning about the m2sh transition. [16952058d0f3] * tools/m2sh/src/ast.c, tools/m2sh/src/config_file.c, tools/m2sh/tests/ref_only.conf: A test case that does references for the config. [534e254c081f] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c: Fixes to some memory leaks and how references are resolved. [70b4ba3c4fb8] 2010-09-18 * tests/runtests.sh, tools/m2sh/tests/runtests.sh: Better test runner that more reliably aborts on failures. [36be2fd0870a] * Makefile, src/config/db.h, src/mongrel2.c, tools/m2sh/Makefile, tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/tests/parser_tests.c: Code cleanup and switch to m2sh-c is complete. [ac802e3c7ef0] * docs/manual/book-final10.html: Missing thing from the manual. [87286cca0f6a] * src/control.c, src/control.rl, src/handler_parser.c, src/handler_parser.rl, src/http11/http11_parser.c, src/http11/httpclient_parser.c, src/state.c: Minor fixes from a 32 bit compile. [af9787f0a47c] * tools/m2sh/src/commands.c: Basis of the control port via linenoise setup. [d3f1120d404f] * tools/m2sh/src/commands.c: Cleanup the logs and start adding them to places. [2b39e548e7c6] * tools/m2sh/src/commands.c, tools/m2sh/src/m2sh.c: Log commands working. [0a36f25c5f55] * tools/m2sh/src/commands.c: Bit of cleaning up the start/stop/running commands and their pid access. [c1e050c500fa] 2010-09-17 * tools/m2sh/src/commands.c: Accidentally double closed a file. [0ab1ebb027be] * tools/m2sh/src/commands.c: Start, stop, reload, and running all working. [0f3f7ea35f66] * tools/m2sh/src/commands.c: Reload works. copy-paste for the win baby. [bb5e1d48c765] * tools/m2sh/src/commands.c: Stop command is working. [79a09f04b08b] * tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c: Working start command with everything the old one had. [62c39a765105] * tools/m2sh/src/commands.c: Version command done. [e67d086bf24b] * tools/m2sh/src/commands.c: Good chunk of the printing commands done. [c2b92c9bf4cb] * tools/m2sh/src/commands.c: Dropped the uuid command since there's uuidgen. [79da2df61dec] 2010-09-16 * docs/ru/manual/Makefile, docs/ru/manual/hacking.tex, docs/ru/manual/introduction.tex, docs/ru/manual/managing.tex: Translated the 'Managing' section of the manual into russian. Man, that was tough, but fun. Also renamed book-final.pdf to mongrel2-1.0 -guide-ru.pdf in the Makefile. [8721387d46bd] 2010-09-16 * tools/m2sh/src/commands.c: Have the .m2sh history show up in ~/ reliably. Sort of. [7dbf33437263] * tools/m2sh/src/commands.c, tools/m2sh/src/linenoise.c: The shell command works. I predict a vulnerability will be found in linenoise. [ecd522fbd1fb] * tools/m2sh/src/commands.c: Commands all laid out, now to fill them in. [a60fefd8bcf1] * tools/m2sh/src/ast.h, tools/m2sh/src/cli.h, tools/m2sh/src/config.h, tools/m2sh/src/config_file.h, tools/m2sh/src/constants.h, tools/m2sh/src/m2sh.h: Header cleanup. [f2d18ef236f7] * tools/m2sh/src/cli.c, tools/m2sh/src/cli.rl, tools/m2sh/src/commands.c, tools/m2sh/src/commands.h, tools/m2sh/src/m2sh.c: We have commands now. [bd2e514dd010] 2010-09-15 * tools/m2sh/src/cli.c, tools/m2sh/src/cli.h, tools/m2sh/src/cli.rl, tools/m2sh/src/config_file.c, tools/m2sh/tests/cli_tests.c: Command line argument parser working. [7d2b892ae0c6] 2010-09-14 * tools/m2sh/src/ast.c, tools/m2sh/src/config_file.c, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h, tools/m2sh/src/mimetypes.csql, tools/m2sh/tests/sample.conf: Loads mimetypes and you can set additional ones from a variable. [1e49b1f63f17] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.c, tools/m2sh/src/config_file.h, tools/m2sh/src/m2sh.c, tools/m2sh/tests/parser_tests.c: Better API with ability to throw and report errors. [1dc70768b325] * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h, tools/m2sh/src/m2sh.c: Reorganizing a bit before refactoring. [856550d55679] 2010-09-13 * tools/m2sh/src/constants.c, tools/m2sh/src/m2sh.c, tools/m2sh/tests/sample.conf: Can fully load a configuration now and make the sqlite. needs serious cleanup. [beca03ff008e] * src/config/db.c, src/config/db.h, tools/m2sh/Makefile, tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/src/config_file.h, tools/m2sh/src/constants.c, tools/m2sh/src/constants.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/m2sh.c, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y, tools/m2sh/src/token.c, tools/m2sh/tests/parser_tests.c: First very rough cut of basic config file loading into sql. [410e1e62c3d4] 2010-09-13 * src/dir.c: Kill gcc warning [39ed0d008de2] * src/config/config.c, src/config/config.h, src/host.c, src/mongrel2.c: More directory loading work. Dirs now handled the same as proxies. [d7a63526d607] 2010-09-12 * src/config/config.c, src/dir.c, src/dir.h, tests/connection_tests.c, tests/dir_tests.c: Base work for Dir configuration clean-up. Should have no outward facing changes. [de1ba2ac92fd] 2010-09-10 * src/connection.c, tests/system_tests/post_tests: Cleaned out debug prints and better test case. [917b6f1a9144] * src/connection.c, tests/system_tests/post_tests: POST uploads were totally wrong after a refactoring. Should be better and we have a test. [0fc7b9290915] * examples/python/bin/m2sh, examples/python/setup.py: Bring by dependencies and pyrepl. [7735c4a5eef4] * Makefile, examples/m2shpy/bin/m2sh, examples/m2shpy/mongrel2/__init__.py, examples/m2shpy/mongrel2/config/__init__.py, examples/m2shpy/mongrel2/config/args.py, examples/m2shpy/mongrel2/config/commands.py, examples/m2shpy/mongrel2/config/model.py, examples/m2shpy/mongrel2/config/rc.py, examples/m2shpy/mongrel2/sql/config.sql, examples/m2shpy/setup.py, examples/m2shpy/tests/__init__.py, examples/m2shpy/tests/composite_conf.py, examples/m2shpy/tests/mongrel2_org.py, examples/m2shpy/tests/sample_conf.py, examples/m2shpy/tests/two_servers.py, examples/python/mongrel2/config/__init__.py, examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/mongrel2/config/rc.py, examples/python/mongrel2/sql/config.sql, examples/python/setup.py: Well m2py and m2sh are forever wed for all eternity because python's packages are horrible pieces of crap. [5ce2bc66c0fc] * docs/manual/book.wiki, examples/m2shpy/mongrel2/config/__init__.py, examples/m2shpy/mongrel2/config/args.py, examples/m2shpy/mongrel2/config/commands.py: Removed m2sh hopefully. [92ef44d2a354] * examples/m2shpy/bin/m2sh: m2sh had the wrong import still. [d9649655d31d] * Makefile, examples/m2shpy/m2sh/__init__.py, examples/m2shpy/m2sh/config/__init__.py, examples/m2shpy/m2sh/config/args.py, examples/m2shpy/m2sh/config/commands.py, examples/m2shpy/m2sh/config/model.py, examples/m2shpy/m2sh/config/rc.py, examples/m2shpy/m2sh/sql/config.sql, examples/m2shpy/mongrel2/__init__.py, examples/m2shpy/mongrel2/config/__init__.py, examples/m2shpy/mongrel2/config/args.py, examples/m2shpy/mongrel2/config/commands.py, examples/m2shpy/mongrel2/config/model.py, examples/m2shpy/mongrel2/config/rc.py, examples/m2shpy/mongrel2/sql/config.sql, examples/m2shpy/setup.py: m2sh is back and separated, configs should keep working.' [96d35493e7c2] * examples/m2shpy/m2sh/config/commands.py, examples/python/mongrel2/config/__init__.py, examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/mongrel2/config/rc.py, examples/python/mongrel2/sql/config.sql, examples/python/setup.py: First fixup for the move attempt. [5d106f3cd40f] 2010-09-09 * Makefile, examples/python/setup.py: Add m2sh(python) extracted to Makefile, change mongrel2-python setup routine [2584dc6dd98d] * examples/m2shpy/bin/m2sh, examples/m2shpy/m2sh/__init__.py, examples/m2shpy/m2sh/config/__init__.py, examples/m2shpy/m2sh/config/args.py, examples/m2shpy/m2sh/config/commands.py, examples/m2shpy/m2sh/config/model.py, examples/m2shpy/m2sh/config/rc.py, examples/m2shpy/m2sh/sql/config.sql, examples/m2shpy/setup.py, examples/m2shpy/tests/__init__.py, examples/m2shpy/tests/composite_conf.py, examples/m2shpy/tests/mongrel2_org.py, examples/m2shpy/tests/sample_conf.py, examples/m2shpy/tests/two_servers.py, examples/python/bin/m2sh: Pull out m2sh into another package [622dd9f3a6bd] 2010-09-09 * src/config/config.c, src/config/config.h, src/server.c: Fixes the problem with handlers other than default_host from loading. [83c8524cffd4] * docs/wiki/Donors.wiki: Updated donors. [1699569e60c3] 2010-09-08 * tools/m2sh/src/ast.c, tools/m2sh/src/ast.h, tools/m2sh/tests/sample.conf: Basic parse walker to test out structure. [72abb075aa43] * tools/m2sh/src/config.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/tests/parser_tests.c, tools/m2sh/tests/sample.conf: Parser is cleaned up, commas are optional on accident, and now it's ready for the ast. [b55f12470ec5] * tools/m2sh/Makefile, tools/m2sh/src/config.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y: Parser is cleaned up, commas are optional on accident, and now it's ready for the ast. [70845a409312] * tools/m2sh/Makefile, tools/m2sh/src/config.h, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/parser.c, tools/m2sh/src/parser.y, tools/m2sh/src/parser_extra.c, tools/m2sh/src/token.c, tools/m2sh/src/token.h, tools/m2sh/tests/parser_tests.c, tools/m2sh/tests/token_tests.c: Restructure the parser and get it ready for dealing with the contents. [970b56b66f9c] * tools/lemon/lemon.c, tools/lemon/lempar.c, tools/m2sh/Makefile, tools/m2sh/lempar.c, tools/m2sh/src/lexer.c, tools/m2sh/src/lexer.rl, tools/m2sh/src/linenoise.c, tools/m2sh/src/linenoise.h, tools/m2sh/src/m2sh.c, tools/m2sh/src/m2sh.h, tools/m2sh/src/parser.c, tools/m2sh/src/parser.h, tools/m2sh/src/parser.y, tools/m2sh/src/parser_extra.c, tools/m2sh/src/token.c, tools/m2sh/src/token.h, tools/m2sh/tests/minunit.h, tools/m2sh/tests/other.conf, tools/m2sh/tests/parser_tests.c, tools/m2sh/tests/runtests.sh, tools/m2sh/tests/sample.conf, tools/m2sh/tests/token_tests.c: m2sh in C has begun. PREPARE YOURSELVES. [18e8868a7807] 2010-09-07 * src/dir.c, src/proxy.c, src/server.c, src/ssl/os_port.h: And now SSL internals are in a working state. That axTLS library is amazing. Just had to sort some stuff out with handling the fact that the sockets don't block and the crypto lib didn't expect that at all. (Plugging in fdsend/fdrecv fixed it). Coming up next, reading certs, and exposing it all to the users. [415c87fef233] * src/connection.c: Cleaned up useless debug statements. Added ssl cleanup in connection_destroy [b7f054f0a8e9] * src/connection.c, src/connection.h, src/dir.c, src/dir.h, src/response.c, src/response.h, src/server.c, src/server.h, tests/connection_tests.c, tests/dir_tests.c, tests/response_tests.c: Use callbacks in connection.c and response.c so that we can use fdrecv or ssl_read (depending upon the situation). Lots of small changes to use the Connection object instead of file descriptors. This is a scary-big changeset (and it's only part of the "adding SSL" effort), be wary. [7fda71270371] 2010-09-06 * Makefile: Patch so that it builds on OBS. [dbf6b9452142] 2010-09-06 * docs/manual/installing.tex, docs/ru/manual/installing.tex, docs/ru/manual/preamble.tex: Translated the installing section of the manual into Russian + fixed a typo in the original English version [21d98db48632] 2010-09-05 * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex: The installing section was really backwards now that we have .tar.bz2. [39c2cf935a04] 2010-09-04 * docs/ru/manual/introduction.tex, docs/ru/manual/preamble.tex: Translated introduction to the manual into Russian [f8afa50ca07c] 2010-09-04 * docs/wiki/mongrel2.wiki: Make the logo work. [51a19704d430] 2010-09-03 * docs/wiki/mongrel2.wiki: French to the home page as well [c7f0c402fb78] * docs/fr/wiki/GettingStarted.wiki: markup fix [762e69feca02] * docs/fr/wiki/GettingStarted.wiki: Added Markup to french translation [3234f5538e55] * docs/fr/wiki/GettingStarted.wiki: Added french translation of GettingStarted - thanks feroz [252139eb5442] 2010-09-02 kedrot@gmail.com * docs/manual/hacking.tex: Ticket 3b07f2178d [ab6a6b8fc468] * src/config/config.c, src/task/net.c: Shuttin up GCC's complaints. [451b0ab8ac74] 2010-09-02 * docs/siteskin.sql, docs/wiki/Donors.wiki: Forgot some contributors. [a305d239ae9c] * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex: Change up the text about using fossil. [60ac5772e42e] * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/installing.tex, docs/ru/manual/installing.tex: Need to use the 44445 port for fossil pulls. [4ca284302cff] * docs/siteskin.sql, docs/wiki/Donors.wiki, docs/wiki/mongrel2.wiki: 1.0 released. [974c70f50b28] * docs/es/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: ONE POINT OH [9340ccb4404c] 2010-09-01 * src/mongrel2.c: Error check for /logs was wrong, that's done later when we try to open the log. [e00477797328] * src/dir.c: Sent error needed to be reworked a bit. [9042707c89f5] * src/log.c: Make it possible to run without access logging on. [46bfc06b19ef] 2010-09-01 * docs/ru/manual/Makefile, docs/ru/manual/book.tex, docs/ru/manual/book.wiki, docs/ru/manual/clean.sed, docs/ru/manual/commands.tex, docs/ru/manual/contributing.tex, docs/ru/manual/deploying.tex, docs/ru/manual/hacking.tex, docs/ru/manual/installing.tex, docs/ru/manual/introduction.tex, docs/ru/manual/managing.tex, docs/ru/manual/preamble.tex, docs/ru/manual/preface.tex, docs/ru/manual/savetrees.bst, docs/ru/manual/savetrees.sty: Translated the preface of the manual into Rusian. [b452d5b8049a] 2010-09-01 * src/dir.c: Small bug in dir sending. [d350fed58291] * docs/wiki/mongrel2.wiki: Added the Clojure work mikejs is doing. [fdefdc0c8377] * docs/wiki/mongrel2.wiki: Released 1.0rc1. [f24b99521159] * docs/es/wiki/GettingStarted.wiki, docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Version bump to 1.0rc1. [e7c63f462820] * examples/tornado/auth_demo.py: The route can just be / now in this demo. [b59cff5a4673] * src/connection.c: Remove a debug print. [0891c2f8c601] * src/mongrel2.c: Better message about the double SIGINT. [55c2e6e4518d] * src/mongrel2.c, tests/bad_client.py: Having to do TERM is super annoying, make a double INT also do murder. [af59b45c3cbc] * src/connection.c: Fixed the poor IO processing that made telnet and chunky clients fail. [162c421c358f] * examples/chat/static/app.js, examples/chat/static/index.html, examples/chat/static/site.css: Playing with the chatdemo some. [1949816cfec6] 2010-09-01 * docs/ru/wiki/GettingStarted.wiki: Somehow the russian version of GettingStarted.wiki referred to zeromq 2.0.7. I changed this number to 2.0.8. [a567dcc480a7] 2010-09-01 * examples/tornado/auth_demo.py: Add the settings to the authdemo. [d05e1f2d946f] * src/connection.c: Use a 4k default buffer size for simplicity. [81c00fc73409] 2010-09-01 kedrot@gmail.com * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/managing.tex, docs/manual/preface.tex: Various editing. [5c2d7dbc72f8] 2010-09-01 * examples/configs/any_conf.py, examples/configs/mongrel2_org.py, examples/configs/multi_conf.py, examples/configs/sample_conf.py, examples/tornado/README, examples/tornado/auth_demo.py, examples/tornado/authdemo.py: Examples of configurations for people and the tornado example. [41acf59d5fd3] 2010-08-31 * src/dir.c: Implemented the ability to point a Dir at a single file. [497211a17bcb] * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Once more. [d0f3e87498fc] * docs/manual/book-final2.html, docs/manual/book-final239x.png, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/managing.tex: Oops that's not a snowman. DAMN could have been a good joke. [6689fbba9b5a] * docs/manual/book-final2.html, docs/manual/book-final3.html, docs/manual/book-final4.html, docs/manual/book-final5.html, docs/manual/book-final6.html, docs/manual/book-final7.html, docs/manual/book-final8.html, docs/manual/book-final9.html, docs/manual/book.wiki, docs/manual/clean.sed: That's not how you fix footnotes, this is. [68399d6ccc27] * docs/manual/book-final239x.png, docs/manual/book.wiki, docs/manual/clean.sed: Fixed up the snowman and footnotes. [235ef8c572a8] * docs/manual/book.wiki, docs/manual/hacking.tex, docs/manual/introduction.tex, docs/wiki/GettingStarted.wiki: Fixed and aside and added a link to getting started. [f1fff4460fd0] * docs/wiki/mongrel2.wiki: 1.0beta7 is released. [2d44fba9859a] * docs/es/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/version.h: Version bump for 1.0beta7. [211dbbf194f0] * src/log.c, src/mongrel2.c: Logging was done at the wrong time and needs buffer off. [6551cf8c2105] * src/connection.c, src/dir.c, src/http11/httpclient_parser.c, src/http11/httpclient_parser.h, src/http11/httpclient_parser.rl, src/log.c, src/log.h, src/mongrel2.c, src/request.c, src/request.h: Access logging started and mostly working. [71c62f718bbd] * src/connection.c, src/headers.c, src/headers.h: A little something for the performance nerds. [6ab0cc7f862a] * docs/manual/book.wiki: Regenerate the docs. [7fbeef2cc4fb] * src/connection.c, src/http11/httpclient_parser.c, src/http11/httpclient_parser.rl: False assumption that 0 content-length was the same as no content- length header. [1d189cac8473] 2010-08-31 * docs/manual/deploying.tex, docs/manual/managing.tex, examples/python/mongrel2/config/commands.py: Some basic documentation for multiple servers. [7c15f7fd8b36] 2010-08-31 * tests/dict_tests.c, tests/hash_tests.c, tests/list_tests.c: Make sure the test runners don't call exit. [72922aa67e1c] * docs/wiki/mongrel2.wiki: Added Josh's twitter. [a84c3bcdc0f1] * src/cache.c: Cache check was wrong. [9ccf64e11e5a] * docs/wiki/mongrel2.wiki: Announce release of 1.0beta6. [b9029a5a13c7] * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, examples/python/setup.py, src/version.h: Version bump for a 1.0beta6 release. [4db552f35ac0] * docs/manual/book.wiki, docs/manual/deploying.tex: Renamed deployment tips. [64ecc854adfd] * docs/manual/book.wiki, docs/manual/deploying.tex: Add a section of advice on deployment. [69b5b8fbf8bb] * src/config/config.c, src/server.c, src/server.h, tests/connection_tests.c, tests/server_tests.c: Now hosts are properly matched, and on match failure the default_host is checked for match. [7d8458ef4cb6] * src/routing.c, src/routing.h, src/server.c: Actually call the pattern code on hostnames for matching hostnames. [8104194272c3] * examples/python/mongrel2/handler.py: Fixed bug in m2sh so it works with the real latest pyzmq. [0716d7af27b9] 2010-08-30 kedrot@gmail.com * Makefile: Removed -g flag from release target. Prefix can now be specified as an environment variable. [2b0ffd1c0aed] * Makefile: Fixed ticket b3b0ad308e [34a6e20961a7] 2010-08-30 * examples/python/setup.py: Make m2sh have the same version number as mongrel2. [f6a84552924c] 2010-08-30 * docs/ru/wiki/DesignCriticisms.wiki: Translated DesignCriticisms.wiki into Russian. [a587d1a8adfb] 2010-08-30 * docs/wiki/mongrel2.wiki: Announce the latest 1.0beta5. [b0b92f9f18c4] * docs/wiki/mongrel2.wiki: Announce the latest 1.0beta5. [d32556a06c7f] * examples/python/mongrel2/config/commands.py, src/version.h: Version bump to 1.0beta5. [698ea1c17c3e] * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, examples/python/mongrel2/config/commands.py, src/version.h: Version bump to 1.0beta5. [d57875db4db3] * src/connection.c, src/state.c, src/state.h, src/state.rl, tests/register_tests.c: Making the updated state machine work. [39d534fe25b8] * src/state_machine.rl: Updated state machine that fixes the duplicate registrations problem. [ed41bd33659b] * src/register.c: Actually can't close the fd in this case, 'cause that like closes the fd. [d53cba363ac5] * src/connection.c: Check for errors in disconnect and report. [fcd9a3aaae08] * src/connection.c, src/handler.c, src/register.c: This should fix the bug in registrations but need more testing and auditing to confirm. [7962f5fcd34d] * src/http11/httpclient_parser.c, src/http11/httpclient_parser.h, src/http11/httpclient_parser.rl, src/proxy.c: Ran into invalid parsing from backend so trace these better. [8b707c3179dc] * examples/python/bin/m2sh, examples/python/mongrel2/config/commands.py: Give folks a version command and a bit of help on --help and --version. [72a1c851d70c] * tests/unixy_tests.c: Make unixy tests skip things that aren't good for root so people can build as root. [c219ff324e07] * examples/python/mongrel2/config/commands.py: Even better, always require a unique record unless -every. [9f09502af359] * examples/python/mongrel2/config/commands.py: Better output for control command if ambiguous. [98eaf5db14ef] * src/config/config.c: Reworked the SQL so that it only queries up routes for specific host/server combinations. [f29252ccbe84] 2010-08-29 * examples/kegogi/src/kegogi.c, examples/kegogi/tests/googletest.txt: Use rendez struct to make this whole thing a little bit less ghetto. [2ca1983584f1] 2010-08-29 * docs/de/wiki/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki, docs/ru/wiki/GettingStarted.wiki, docs/wiki/GettingStarted.wiki: Download link was wrong for GettingStarted. [2b596e06a626] * docs/wiki/ContributorInstructions.wiki: Exported from the wiki so it can get translated. [ad8474a481a6] 2010-08-29 * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.c: Added command line arguments to kegogi for both the number of threads to run (--threads, -t) and the number of iterations of the tests per thread (--iterations, -i). If you run kegogi -t 10 -i 10 script, it will run your test file 10 times in each of 10 threads. [b492b9b6cd12] 2010-08-29 * examples/python/mongrel2/config/commands.py: More work on m2sh for loading multiple servers. [c6d4ac34d15e] 2010-08-29 * docs/wiki/mongrel2.wiki: Added translations [9744aeb23f4c] * docs/de/wiki/GettingStarted.wiki: Fixed some minor stuff [eda0a64dc94d] 2010-08-29 * src/control.c, src/control.rl: Static inlines so clang can compile everything. [271a17d175b0] * examples/python/mongrel2/config/commands.py, src/config/config.c, src/config/config.h, src/mongrel2.c, tests/config_tests.c: Reworking config and mongrel2 to support loading multiple servers from m2sh. [9b02084096b4] 2010-08-29 * docs/de/wiki/GettingStarted.wiki: Added a missing line [ed63339b0c6d] * docs/de/wiki/GettingStarted.wiki: Added German Translation of GettingStarted [7ecdb7bcebfe] 2010-08-29 * docs/es/GettingStarted.wiki, docs/es/wiki/GettingStarted.wiki: Wrong spot for that. [699c03f2f987] * docs/es/GettingStarted.wiki: GettingStarted in spanish. [a6cbf26bd320] * docs/manual/book.wiki, docs/manual/hacking.tex: Mention the chroot and temp_file relationship for async uploads. [3c9f2d8cef86] * src/dir.c: And only use GMT. [bab228fac083] * src/dir.c: Switch to RFC2822 format for the spec. [d7519fae3bbe] * docs/wiki/mongrel2.wiki: Update. [bb41c84283a3] * docs/wiki/mongrel2.wiki: Minor html fix. [ba854b3c1323] 2010-08-28 * docs/ru/wiki/GettingStarted.wiki: Added Russian version of the GettingStartedwiki page [e5ea9d034708] 2010-08-28 * docs/manual/book.wiki, docs/manual/installing.tex, docs/wiki/GettingStarted.wiki: Oh look, a small error. It's amazing how people find these. [28eeedb93339] * docs/wiki/Donors.wiki: Added a donor who requested. [1ddf9e936072] * docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki, src/version.h: Pushed out 1.0beta4. [4925a4a1a23f] * src/control.c, src/control.rl: Fix bad include in control port. [6a7462271990] * docs/manual/book.wiki, docs/manual/managing.tex, examples/python/mongrel2/config/commands.py: Implemented m2sh control command and documented control port. [a701cf5d9081] * src/connection.c, src/control.c, src/control.rl, src/mongrel2.c, src/register.c, src/register.h: Better error handling on kill and a setting for the control_port. [a1c17099186e] * src/config/config.c, src/control.c, src/control.rl, src/register.c, src/register.h: Control port is working and now just need some testing and docs. [e3f7c7b0cda4] 2010-08-28 * docs/manual/book.wiki, docs/manual/hacking.tex, docs/manual/managing.tex, src/handler.c: ZMQ 2.0.8 deprecates ZMQ_UPSTREAM/ZMQ_DOWNSTREAM in favour of ZMQ_PUSH and ZMQ_PULL. [3c6a85568b25] 2010-08-28 * Makefile, src/control.c, src/control.h, src/control.rl, src/handler.c, src/handler.h, src/mongrel2.c: Initial cut of the control port rather than signals. [609230ad0f87] * tests/handler_parser_tests.c: Oops, handler parser tests needed a refresh. [d06cd2960cb0] * docs/manual/book.wiki, docs/manual/installing.tex, docs/wiki/GettingStarted.wiki: Updated docs to mention 2.0.8 zeromq. [b79225756705] * src/task/task.c: Easier way to generate status. [eaffa4c7131a] * src/dir.c: Removing the /dev/null joke. [34caf4cfefb2] 2010-08-27 kedrot@gmail.com * docs/manual/deploying.tex: Fixed ticket addb107543 [efa472cc005c] 2010-08-26 * src/dir.c, src/response.c, src/response.h: Mongrel2 now supports /dev/null for scalability. [04c1b329804b] 2010-08-26 * examples/kegogi/src/httpclient.c: Fix for kegogi httpclient (make sure we get the beginning of the response) [6222db593d5f] 2010-08-26 * src/connection.c: Fixes bug in reading medium sized requests. [bd92ecde5f2f] * docs/wiki/mongrel2.wiki: Tweak the mission statement. [c6ede1daa817] * docs/wiki/mongrel2.wiki: Tweak the mission statement. [ef013573fb83] * docs/wiki/mongrel2.wiki: Updated the last update date. [2a92ef6d3870] * docs/wiki/mongrel2.wiki: 1.0beta3 announced. [eb8dd09c0749] * src/version.h: Tagged 1.0beta3. [f9ceb3f407b5] * docs/manual/book.wiki, docs/manual/hacking.tex, tests/system_tests/curl_tests: Typos and clarification of upload docs. [41f888980fec] * docs/manual/book.wiki, docs/manual/hacking.tex: Typo. [3cac158fb7f5] * docs/manual/book.wiki, docs/manual/hacking.tex, docs/manual/managing.tex, examples/http_0mq/upload.py: Async upload demo documented. [6d4f90bba940] * src/connection.c: Got the initial upload mechanism working fairly solid. [98d343a924fc] * examples/http_0mq/upload.py, src/config/example.sql, src/connection.c, src/request.c: Got the initial upload mechanism working fairly solid. [52b75366a77b] * examples/http_0mq/http.py, tests/system_tests/curl_tests: Rudimentary ability to kill a connection by sending a 0 length message. [cf6c99c46c83] * src/handler.c, src/handler_parser.c, src/handler_parser.rl, src/mongrel2.c: Clean up handler code to allow for closing, fix bug in server loading. [393c76a2af70] * src/mongrel2.c: Better error message when given a bad server name. [cb5a4acf7886] * docs/manual/book.wiki, docs/manual/managing.tex, src/handler.c, src/handler_parser.c, src/handler_parser.h, src/handler_parser.rl: Allowing handler target maximum to be set via settings. [15094d5b0f20] * src/mongrel2.c: And with that, reload is back and works right now. [db4020ee1367] * src/config/config.c, src/config/config.h, src/dir.c, src/host.c, src/mongrel2.c, src/setting.c: Lots of cleanups and memory management. Reload is broken though. [3b96d761da6f] * examples/python/tests/mongrel2_org.py, examples/python/tests/two_servers.py: Bring back the original sample config and add one for a two server test config. [2aeee2cf4862] * examples/python/tests/mongrel2_org.py, src/config/config.c, src/config/config.h, src/handler.c, src/host.c, src/mongrel2.c: Fixes the handler shutdown segfault and actually simplifies clean up of handlers. [6eed561677fe] 2010-08-25 * src/config/config.c, src/config/config.h, src/handler.c, src/mongrel2.c, src/server.c, tests/config_tests.c: Cleaning up config fixing ticket 7990c78eb1. Theoretically. [f9319f1da193] 2010-08-25 * docs/wiki/mongrel2.wiki: Released Mongrel2 1.0beta2 to the world. [3b66f30a3ee8] * src/version.h: Version bump for beta2 source release. [adf986509d99] 2010-08-25 * src/handler.c: Adding include for missing Settings function used in handler code. [e49c7d977615] 2010-08-25 * src/connection.c: Silly mistake trying to realloc an h_calloc block. [343dec3b1bd0] * docs/manual/book.wiki, docs/manual/managing.tex, examples/python/tests/mongrel2_org.py, src/connection.c, src/connection.h, src/dir.c, src/dir.h, src/handler.c, src/handler.h, src/host.c, src/host.h, src/mime.c, src/request.c, src/request.h, src/server.c, src/task/fd.c, src/unixy.c, tests/request_tests.c: Lots and lots of settings are now tweakable. [c59246ab2214] * src/dir.c, src/handler_parser.c, src/handler_parser.rl, src/mongrel2.c, src/response.c, src/version.h: Added a good version string people can use. [d4b94968816f] * examples/kegogi/src/kegogi_lexer.c: Keep all the generated files in the source for easier building. [792754ec3b2d] * src/handler_parser.c, src/handler_parser.rl: This turns out to be more of a soft error, but make sure that we warn and get feedback. [bf50bafb75ad] * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex: Fixed a bunch of docs bugs. [fd5ec2ca03f5] 2010-08-25 kedrot@gmail.com * docs/manual/book.tex, docs/manual/book.wiki, docs/manual/clean.sed, docs/manual/preamble.tex: Fixed the other quotes. Made the PDF a bit better. [6764a0fcbc00] 2010-08-25 * docs/manual/book.tex, docs/manual/book.wiki: Tordek\!\!\!\! [e343fa22d780] * docs/manual/book.wiki, docs/manual/preamble.tex: Fucking [T1]{fontenc} screwed up *EVERY* quote char. Fuck you TeX. [6475f87602fb] * docs/manual/book.wiki, docs/manual/clean.sed: Fixed the stupid backticks problem. TeX really has a fetish for quote chars. [724825730c2e] * src/config/config.c: Segfault from bad format string in config loading. [8724f5983f6f] * src/dir.c: Errors if Dir base starts with / but does not end with /. [20fa0acda61c] 2010-08-24 * src/config/example.sql, src/server.c: Default to 1 IO thread in 0mq and then warn if they go over, to fix bug in blocked 100% CPU handlers. [5bf7f062f5fd] * docs/wiki/mongrel2.wiki: Added .NET to the list of languages. [86f42ba0f805] * src/connection.c: Need to calloc the buffers so they are initialized when we use them. [7a69a91e7abc] 2010-08-23 * docs/wiki/mongrel2.wiki: Added Perl to the list of languages. [bc72f7bd9a69] * docs/wiki/mongrel2.wiki: Got the md5sum backwards on the downloads. [b0d76fd0367d] * docs/wiki/mongrel2.wiki: Updated the latest 1.0beta1 downloads. [c36e3424289a] * src/request.c, tests/system_tests/curl_tests: Fixed a bug in the json encoding of headers. [5b64c3829267] * examples/chat/www.py, src/connection.c, src/connection.h, src/proxy.c, src/proxy.h: Refactored to be cleaner on the proxy response parsing and to move that code into proxy.c [7b121f2f5ec0] * src/connection.c, src/connection.h, src/http11/httpclient_parser.c, src/http11/httpclient_parser.rl, src/proxy.c, src/proxy.h, src/server.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, src/task/task.h, tests/httpclient_tests.c, tests/proxy_tests.c, tests/state_tests.c: First part of proxy redesign working, handles all proxy cases except chunked encodings. [7e605f9fd6e2] 2010-08-22 * src/http11/http11_common.h, src/http11/http11_parser.h, src/http11/httpclient_parser.c, src/http11/httpclient_parser.h, src/http11/httpclient_parser.rl, tests/client_suite/cherrypy_chunked, tests/client_suite/google_chunked_encoding, tests/client_suite/nginx_test, tests/client_suite/simple_test_ex, tests/httpclient_tests.c: HTTP client library worked into the test suite and fully tested including samples and chunked encoding. [114faa7eb787] 2010-08-21 * Makefile, examples/kegogi/Makefile, examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient_parser.c, examples/kegogi/src/httpclient_parser.h, examples/kegogi/src/httpclient_parser.rl, examples/kegogi/src/kegogi.c, examples/kegogi/src/param.c, src/http11/httpclient_parser.c, src/http11/httpclient_parser.h, src/http11/httpclient_parser.rl: Moved the httpclient parser out of kegogi since it'll be used by both of us. [4df78965d6df] * src/handler.c, src/register.c, src/register.h, src/request.c, tests/register_tests.c: Connection ids are now a sequentially increasing number and not the fd. This solves lots of bugs. [6b941361b038] * src/mongrel2.c, tests/system_tests/chat_tests: Ignoring SIGPIPE completely, updated test to work more reliably. [68f37c50f454] * src/superpoll.c, src/task/fd.c: Fixed the timer issue, it's because zmq_poll has *1000 timer semantics. [40dc6b63a056] 2010-08-21 * Merging procer fix to trunk [ab6031abf211] * examples/procer/procer.c: Fix OS X compilation of procer. [6153dbaff34f] 2010-08-21 * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.c, examples/kegogi/tests/googletest.txt: Added support for body argument to kegogi expect command [a2e7e7a28d8d] 2010-08-20 * docs/manual/book.wiki, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/mongrel2/sql/config.sql, examples/python/tests/mongrel2_org.py, examples/python/tests/sample_conf.py, src/config/config.c, src/config/config.sql, src/config/example.sql: Added the new -name parameter to servers so you can ident them without using the default_host. [ad38470e6c16] * src/register.c, src/register.h: Added ping times and ditched the hash table instead going with a big ass array. [12988c22c177] * Makefile, tests/system_tests/chat_tests, tests/system_tests/curl_tests: Simple system tests give us lots of coverage. [6e7f57297629] * examples/kegogi/Makefile, examples/kegogi/lemon.c, examples/kegogi/lempar.c, examples/kegogi/src/kegogi_parser.c: Added the stuff needed to build kegogi. [b6579c25bbe6] * src/connection.c, src/dir.c, src/dir.h, tests/dir_tests.c: Dir tests have coverage to about 77%. [5aa2c450b6a8] * tests/dir_tests.c: More dir tests. [64069fd36aa2] 2010-08-20 * src/mongrel2.c: Remove old, now misleading, comment [6aa72f0e692d] 2010-08-20 * src/mongrel2.c: Shutdown brought back by closing the server's socket. [21a4aa56386f] * src/dir.h, tests/connection_tests.c, tests/dir_tests.c: A bit more coverage of the dir stuff. [5cf4b703eb17] 2010-08-19 * tests/adt_data.txt, tests/dict_tests.c, tests/hash_tests.c, tests/list_tests.c: Brought back the kazlib tests for our missing adt tests, got coverage up to 54%. [f31db12d59bd] * tests/runtests.sh, tests/server_tests.c: Server test coverage improved a bit. [084f166ade78] 2010-08-19 * src/mongrel2.c: Fixing gcc warnings when passing bstrings to unlink and open. [ddd9d753b1c5] 2010-08-19 * tests/response_tests.c: 100% coverage on response tests. [9e7b76922744] * tests/and_suite/ex_httpd_tst_16, tests/request_tests.c: 92% on request.c now. [23c8955f4bd2] 2010-08-19 * src/mongrel2.c, src/task/task.c: Moving sigquit handling into mongrel2.c and adding setting "status_file" to fix e091021046 [78960be51d41] 2010-08-19 * tests/register_tests.c: More coverage on register tests. [4c0d6e333cc9] * tests/pattern_tests.c: Quick thing to test bstring_match. [354a73b3e692] * src/http11/http11_parser.c, src/http11/http11_parser.rl, tests/and_suite/odd_http_tests: Trimming down the http parser to not parse stupid stuff. [1000638aa109] * tests/and_suite/json_socket_tests, tests/and_suite/odd_http_tests: Tests to squeeze out a bit more coverage, it'd be pretty hard to do more. [696cdfa779df] 2010-08-19 * src/task/task.c, src/task/task.h: Creating taskgetinfo method for bug 8b00dcdd4a Updating QUIT signal handler for new method [e10ee6d76e04] 2010-08-19 * tests/http11_tests.c: Test for the http11 parser, gets a miserable 28% coverage. [b0dffbe936fd] * Makefile, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/http11/http11_parser_common.rl, tests/and_suite/ex_httpd_conf_10_tst_1, tests/and_suite/ex_httpd_conf_10_tst_2, tests/and_suite/ex_httpd_conf_11_tst_1, tests/and_suite/ex_httpd_conf_11_tst_2, tests/and_suite/ex_httpd_conf_11_tst_3, tests/and_suite/ex_httpd_conf_11_tst_4, tests/and_suite/ex_httpd_conf_12_tst_1, tests/and_suite/ex_httpd_conf_12_tst_2, tests/and_suite/ex_httpd_conf_12_tst_3, tests/and_suite/ex_httpd_conf_13.2_tst_1, tests/and_suite/ex_httpd_conf_13_tst_1, tests/and_suite/ex_httpd_conf_13_tst_2, tests/and_suite/ex_httpd_conf_13_tst_3, tests/and_suite/ex_httpd_conf_13_tst_4, tests/and_suite/ex_httpd_conf_13_tst_5, tests/and_suite/ex_httpd_conf_5_tst_1, tests/and_suite/ex_httpd_conf_5_tst_2, tests/and_suite/ex_httpd_conf_5_tst_3, tests/and_suite/ex_httpd_conf_5_tst_4, tests/and_suite/ex_httpd_conf_5_tst_5, tests/and_suite/ex_httpd_conf_5_tst_6, tests/and_suite/ex_httpd_conf_6_tst_1, tests/and_suite/ex_httpd_conf_7_tst_1, tests/and_suite/ex_httpd_conf_7_tst_2, tests/and_suite/ex_httpd_conf_8.1_tst_1, tests/and_suite/ex_httpd_conf_8.1_tst_2, tests/and_suite/ex_httpd_conf_8.2_tst_1, tests/and_suite/ex_httpd_conf_8.2_tst_2, tests/and_suite/ex_httpd_conf_8.3_tst_1, tests/and_suite/ex_httpd_conf_8.3_tst_2, tests/and_suite/ex_httpd_conf_8.4_tst_1, tests/and_suite/ex_httpd_conf_8.4_tst_2, tests/and_suite/ex_httpd_conf_9.1_tst_1, tests/and_suite/ex_httpd_conf_9.2_tst_1, tests/and_suite/ex_httpd_errs_tst_1, tests/and_suite/ex_httpd_errs_tst_10, tests/and_suite/ex_httpd_errs_tst_11, tests/and_suite/ex_httpd_errs_tst_12, tests/and_suite/ex_httpd_errs_tst_13, tests/and_suite/ex_httpd_errs_tst_14, tests/and_suite/ex_httpd_errs_tst_15, tests/and_suite/ex_httpd_errs_tst_16, tests/and_suite/ex_httpd_errs_tst_17, tests/and_suite/ex_httpd_errs_tst_18, tests/and_suite/ex_httpd_errs_tst_19, tests/and_suite/ex_httpd_errs_tst_2, tests/and_suite/ex_httpd_errs_tst_20, tests/and_suite/ex_httpd_errs_tst_21, tests/and_suite/ex_httpd_errs_tst_22, tests/and_suite/ex_httpd_errs_tst_23, tests/and_suite/ex_httpd_errs_tst_24, tests/and_suite/ex_httpd_errs_tst_25, tests/and_suite/ex_httpd_errs_tst_26, tests/and_suite/ex_httpd_errs_tst_27, tests/and_suite/ex_httpd_errs_tst_28, tests/and_suite/ex_httpd_errs_tst_29, tests/and_suite/ex_httpd_errs_tst_3, tests/and_suite/ex_httpd_errs_tst_30, tests/and_suite/ex_httpd_errs_tst_31, tests/and_suite/ex_httpd_errs_tst_32, tests/and_suite/ex_httpd_errs_tst_33, tests/and_suite/ex_httpd_errs_tst_34, tests/and_suite/ex_httpd_errs_tst_35, tests/and_suite/ex_httpd_errs_tst_36, tests/and_suite/ex_httpd_errs_tst_37, tests/and_suite/ex_httpd_errs_tst_38, tests/and_suite/ex_httpd_errs_tst_39, tests/and_suite/ex_httpd_errs_tst_4, tests/and_suite/ex_httpd_errs_tst_40, tests/and_suite/ex_httpd_errs_tst_41, tests/and_suite/ex_httpd_errs_tst_42, tests/and_suite/ex_httpd_errs_tst_43, tests/and_suite/ex_httpd_errs_tst_44, tests/and_suite/ex_httpd_errs_tst_45, tests/and_suite/ex_httpd_errs_tst_46, tests/and_suite/ex_httpd_errs_tst_5, tests/and_suite/ex_httpd_errs_tst_6, tests/and_suite/ex_httpd_errs_tst_7, tests/and_suite/ex_httpd_errs_tst_8, tests/and_suite/ex_httpd_errs_tst_9, tests/and_suite/ex_httpd_help_tst_1, tests/and_suite/ex_httpd_non- virtual-hosts_tst_1, tests/and_suite/ex_httpd_non-virtual- hosts_tst_2, tests/and_suite/ex_httpd_non-virtual-hosts_tst_3, tests/and_suite/ex_httpd_non-virtual-hosts_tst_4, tests/and_suite /ex_httpd_non-virtual-hosts_tst_5, tests/and_suite/ex_httpd_non- virtual-hosts_tst_6, tests/and_suite/ex_httpd_non-virtual- hosts_tst_7, tests/and_suite/ex_httpd_none_tst_1, tests/and_suite/ex_httpd_none_tst_10, tests/and_suite/ex_httpd_none_tst_11, tests/and_suite/ex_httpd_none_tst_12, tests/and_suite/ex_httpd_none_tst_13, tests/and_suite/ex_httpd_none_tst_14, tests/and_suite/ex_httpd_none_tst_15, tests/and_suite/ex_httpd_none_tst_2, tests/and_suite/ex_httpd_none_tst_3, tests/and_suite/ex_httpd_none_tst_4, tests/and_suite/ex_httpd_none_tst_5, tests/and_suite/ex_httpd_none_tst_6, tests/and_suite/ex_httpd_none_tst_7, tests/and_suite/ex_httpd_none_tst_8, tests/and_suite/ex_httpd_none_tst_9, tests/and_suite/ex_httpd_nonroot_tst_1, tests/and_suite/ex_httpd_null_tst_1, tests/and_suite /ex_httpd_public-only_tst_1, tests/and_suite/ex_httpd_shut_tst_1, tests/and_suite/ex_httpd_shut_tst_2, tests/and_suite/ex_httpd_tst_1, tests/and_suite/ex_httpd_tst_10, tests/and_suite/ex_httpd_tst_11, tests/and_suite/ex_httpd_tst_12, tests/and_suite/ex_httpd_tst_13, tests/and_suite/ex_httpd_tst_14, tests/and_suite/ex_httpd_tst_15, tests/and_suite/ex_httpd_tst_16, tests/and_suite/ex_httpd_tst_17, tests/and_suite/ex_httpd_tst_18, tests/and_suite/ex_httpd_tst_19, tests/and_suite/ex_httpd_tst_2, tests/and_suite/ex_httpd_tst_20, tests/and_suite/ex_httpd_tst_3, tests/and_suite/ex_httpd_tst_4, tests/and_suite/ex_httpd_tst_5, tests/and_suite/ex_httpd_tst_6, tests/and_suite/ex_httpd_tst_7, tests/and_suite/ex_httpd_tst_8, tests/and_suite/ex_httpd_tst_9: Lots of tests taken from the and-httpd suite for testing the http11 parser. [7626364d9209] 2010-08-18 * Makefile, examples/procer/Makefile: Updating makefiles to take PREFIX and separate binary and python installations. [7cfc9e8003f3] 2010-08-18 kedrot@gmail.com * Makefile: Fixed missing dependency on libm2.a. Can make in parallel. [c81628a8a1f6] * Makefile: Makefile targets for coverage and release. [036e2a5b6979] 2010-08-18 * Makefile, examples/zcov/bin/zcov-genhtml: zcov coverage is available now. [db580294b2b0] * Makefile, examples/zcov/LICENSE.txt, examples/zcov/README.txt, examples/zcov/bin/zcov-genhtml, examples/zcov/bin/zcov-merge, examples/zcov/bin/zcov-scan, examples/zcov/bin/zcov-summarize, examples/zcov/setup.py, examples/zcov/zcov/GCovGroup.py, examples/zcov/zcov/GCovParser.py, examples/zcov/zcov/data/js/sorttable.js, examples/zcov/zcov/data/js/sourceview.js, examples/zcov/zcov/data/style.css: Pulled the zcov source in so we can clean it up and use it. [b897fe15bfa6] 2010-08-18 * examples/kegogi/Makefile: Added make install to kegogi [7663992dd3bb] * tests/system_tests/basic/config.py, tests/system_tests/basic/static/foobar, tests/system_tests/basic/static/index.html, tests/system_tests/basic/test.kegogi: Added first of many system tests [c8f55d78b935] 2010-08-17 * docs/wiki/mongrel2.wiki: Updated main page to be clearer and to use a static logo file. [63bc12abcc3d] 2010-08-17 kedrot@gmail.com * docs/manual/book.tex, docs/manual/book.wiki, docs/manual/preamble.tex: Added myself to the authors list. Yay, fame. [a37a0e2c0b57] 2010-08-17 * docs/wiki/DesignCriticisms.wiki: Updated the design criticisms to reflect Mongrel2's long poll state. [838dad678b29] * docs/siteskin.sql, docs/wiki/Donate.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/mongrel2.wiki: Documentation and site cleanup for the start of the 1.0 push. [84b811768e14] 2010-08-17 kedrot@gmail.com * tests/pattern_tests.c: Improved coverage on pattern.c [fe565f1420f8] 2010-08-16 * src/connection.c, src/dir.c, src/handler.c, src/request.c, src/state.c, src/state.rl, src/superpoll.c, src/task/fd.c: Fixes to let clang compile [717882cdd2be] 2010-08-16 kedrot@gmail.com * docs/manual/book.wiki, docs/manual/managing.tex: Patterns always match from the beginning. Updated the manual to reflect that. [3f8ee79cbf15] * tests/cache_tests.c: Raised coverage on cache.c [a2783468e119] 2010-08-15 * src/superpoll.h, src/task/fd.c: Fixes from OSX for when epoll is not available. [e001786444dc] 2010-08-15 * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi.h, examples/kegogi/src/kegogi_parser_extra.c: More cleanup for kegogi [397a86b2610a] 2010-08-15 * docs/wiki/DesignCriticisms.wiki: Updating the wiki for a ticket. [294b44e1a1c1] * src/mongrel2.c, src/superpoll.c, src/superpoll.h, src/task/fd.c, tests/superpoll_tests.c: Added settings superpoll.hot_dividend, superpoll.max_fd, and had it bleed into epoll if available. [0321ce9ffdff] * docs/manual/book.wiki: Updating book with new config file changes. [9d8f91d7a6ce] * examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/model.py, examples/python/tests/mongrel2_org.py, src/superpoll.c: Updated to use Storm 0.17. We should get off Storm. [f62c7692e09c] * src/superpoll.c: A MUCH better way to conditionally compile so that we have a real variable to also use in the source. [6a8729060ecf] * Makefile, src/superpoll.c, src/superpoll.h, tests/superpoll_tests.c: No need for the NO_EPOLL flag, it just detects if you've got linux instead. [df2e14f316ca] * src/crypto/aes.c, src/crypto/bigint.c, src/crypto/bigint.h, src/crypto/bigint_impl.h, src/crypto/crypto.h, src/crypto/crypto_misc.c, src/crypto/hmac.c, src/crypto/md2.c, src/crypto/md5.c, src/crypto/rc4.c, src/crypto/rsa.c, src/crypto/sha1.c, src/ssl/asn1.c, src/ssl/cert.h, src/ssl/config.h, src/ssl/crypto_misc.h, src/ssl/gen_cert.c, src/ssl/loader.c, src/ssl/openssl.c, src/ssl/os_port.c, src/ssl/os_port.h, src/ssl/p12.c, src/ssl/private_key.h, src/ssl/ssl.h, src/ssl/tls1.c, src/ssl/tls1.h, src/ssl/tls1_clnt.c, src/ssl/tls1_svr.c, src/ssl/version.h, src/ssl/x509.c: Including initial TLSv1 support using axTLS and will eventually make it a fully event/async TLS library. [fe1caad628df] 2010-08-14 * src/mac_specific.c, src/superpoll.c, tests/superpoll_tests.c: Fixes so it builds on OSX. There's a segfault on shutdown though. [6cd5fee356e3] * Makefile, src/superpoll.c, src/superpoll.h, tests/superpoll_tests.c: Quick cleanup to allow for epoll to be compiled out safely and cleanly. [2c0d3f072e7d] * src/adt/heap.c, src/adt/heap.h, tests/heap_tests.c, tests/superpoll_tests.c: Heap is no longer needed. Linked lists FTW. [2131cdf4db03] * Makefile, src/config/config.c, src/superpoll.c, src/superpoll.h, src/unixy.c, tests/superpoll_tests.c: Refactored and did some perf testing then optimizing so epoll that works. [aec13407f106] 2010-08-14 * examples/kegogi/src/httpclient.c, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_lexer.rl, examples/kegogi/src/kegogi_parser_extra.c, examples/kegogi/tests/googletest.txt: kegogi talks minimally unless there's a failure. Fixed comment recognition. [7d80754670ba] * examples/kegogi/src/kegogi_lexer.rl: More cleanup of the ragel file [8ee06d063af4] * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_lexer.rl, examples/kegogi/src/kegogi_parser.y, examples/kegogi/tests/googletest.txt: Can now specify default host and port for a kegogi file. [6087b7a77240] * examples/kegogi/src/kegogi_lexer.rl, examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.y, examples/kegogi/src/param.c, examples/kegogi/tests/googletest.txt: Cleaned up grammar in parser. Added defaults keyword. [77a805840522] * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi.h, examples/kegogi/src/kegogi_parser_extra.c: A little bit of cleanup to set up for defaults [7411a92a1574] 2010-08-13 * examples/procer/procer.c: Patch from josh simmons for bugs in procer. [d40c1a156b16] 2010-08-12 * Makefile, src/mongrel2.c, src/superpoll.c, src/superpoll.h, src/task/fd.c, tests/minunit.h, tests/superpoll_tests.c: Initial epoll support, but only explicitly, and a decent unit test for poll and epoll action. Chock full of bugs. [efdcdf70aeb3] 2010-08-12 * examples/kegogi/src/kegogi_parser.y: kegogi_parser cleanup [71ac28f85fc1] 2010-08-11 * examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.y: Using %token_prefix feature of lemon now. [4cd2e36ba29c] 2010-08-10 * examples/kegogi/Makefile, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi.h, examples/kegogi/src/kegogi_lexer.rl, examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/src/kegogi_parser.y, examples/kegogi/src/kegogi_parser_extra.c, examples/kegogi/src/kegogi_tokens.c, examples/kegogi/src/kegogi_tokens.h, examples/kegogi/src/param.c, examples/kegogi/tests/googletest.txt: Kegogi parsing is almost complete. Works with dictionaries, strings, and patterns. Now requires lemon and ragel to build. [f1751d7af3d6] 2010-08-10 * src/superpoll.c: Invalid test before a floating point exceptoin. [bdb49dd41a0c] * docs/wiki/Donors.wiki, src/superpoll.c, src/superpoll.h, src/task/fd.c, tests/superpoll_tests.c: Used the original analysis as the main unit test for superpoll. [ab21656a4d11] 2010-08-09 * docs/wiki/Donors.wiki: Added a new donor to the list. [6d737497cc81] 2010-08-08 * examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/src/param.c: Some kegogi parser enhancements/regressions. You can now give kegogi the following send GET http://www.google.com:80/foo/bar bar="this is a string" "this is a param name"=(pattern) mydictionary={"hello":"world", fksjdf-320:(pattern)} Unfortunately, to make ragel not choke on this, I had to give up comments and empty lines. Obviously, this isn't going to work moving forward, so we'll probably switch over to ragel+lemon. [8877e7010e31] 2010-08-07 * Makefile: Put the build back into debug mode. [28db005d7c10] * Makefile, src/adt/heap.c, src/adt/heap.h, src/handler_parser.c, src/http11/http11_parser.c, src/mongrel2.c, src/server.c, src/state.c, src/superpoll.c, src/superpoll.h, src/task/fd.c, tests/heap_tests.c: Initial superpoll refactoring to make sure the API will work. [b7108eb85fec] 2010-08-07 * examples/kegogi/Makefile, examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient_parser.c, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/src/param.c, examples/kegogi/src/param.h: You can now specify optional named arguments for kegogi files. These arguments don't actually do anything except print out :) [945ee7cd83e0] 2010-08-06 kedrot@gmail.com * docs/manual/book.wiki, docs/manual/managing.tex: Fixed ticket b9a6d899f0. [321d174cdbf3] * examples/mp3stream/handler.py, examples/mp3stream/mp3stream.py: Made the streamer metadata more interesting. [9d04bfa14697] 2010-08-06 * examples/kegogi/src/httpclient.c, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/tests/googletest.txt: Bug fixes and added googletest to show off basic, basic kegogi functionality. [1e720e538699] 2010-08-05 * examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/rc.py: Removed the .m2shrc stuff since it was not working. Will need to redesign. [56c7b381de6d] * src/adt/heap.c, src/adt/heap.h, tests/heap_tests.c: Initial simple Heap for faster tracking of FDs. [de5b500b5019] 2010-08-04 * examples/kegogi/src/httpclient.c: (char *)bString is now (char *)bString->data [c76ea972cebf] 2010-08-04 * examples/kegogi/src/httpclient.c: Fixed memory leaks, need to double check. [3c976d95eea1] * examples/kegogi/src/httpclient.c: More refactoring, much cleaner. There's a parser for chunked encoding though. [e868ead0bc3c] * examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient.h, examples/kegogi/src/httpclient_parser.rl, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.rl: Fixed up compiler errors and refactored code. Need some test files to play with. [81c3a6e62024] 2010-08-04 * examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient.h, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi.h, examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.rl: Refactored the kegogi parser to not use the Request/Response objects, because it dirties the parser logic to turn some things into ints and some things not (in my opinion). Less logic in the parser is more. Also started storing response content in Response_fetch, including for chunked encoding. [2bb9b289e45d] 2010-08-03 kedrot@gmail.com * docs/manual/book.wiki: Updated the manual with the streamer code. [27d6c00882b5] * examples/mp3stream/handler.py, examples/mp3stream/mp3stream.py: Updated mp3stream example to send uuid properly. [c11f2e84d04f] * docs/manual/book.wiki, docs/manual/deploying.tex: Added -u option to example python runscripts to save others from madness. [611b6338f579] 2010-08-03 * src/connection.c, tests/handler_parser_tests.c: PING_PATTERN was totally wrong. [eda81ef32b48] 2010-08-03 * examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient.h, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.rl: Added expect to kegogi. Still need to add parameters [f2159c0932b9] 2010-08-02 kedrot@gmail.com * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/managing.tex, docs/manual/preamble.tex: Converted to lstlistings for code. [68dfdfe9b5a6] * docs/manual/book.wiki, docs/manual/deploying.tex: less error.log; not cat mongrel2.pid... [c76440bc6555] * docs/manual/hacking.tex, docs/manual/preamble.tex: Removed draft option. Added slash between socket types. [0c3acdb69a4e] * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/introduction.tex, docs/manual/preamble.tex: Made it a bit easier to follow. Fixed broken tildes. Naive umlaut. [3fabb5a3cec7] 2010-08-02 * examples/kegogi/src/kegogi_parser.rl: Added send token. Got rid of util.h include [4e2999d66547] * Actually fixed (hopefully) [8aa7d67f6be7] 2010-08-02 * docs/wiki/Donors.wiki: Screwed up link in donors. [0d5df6f3185c] * docs/wiki/Donors.wiki: Updated donors list. [8b718ef383c2] 2010-08-02 * Fixing multiple heads [35ae9a3812d1] * examples/kegogi/Makefile, examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient.h, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi.h, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/src/util.c, examples/kegogi/src/util.h: Bringing kegogi into line with coding standards. Dumping util.{c,h} and using bstring functions instead. Also, adding kegogi.h (so that it actually compiles for everyone :)) [d74de72c891f] * src/task/task.c: Changed main stack size back to 32k [dd853e314917] 2010-08-01 * examples/kegogi/Makefile, examples/kegogi/src/httpclient.c, examples/kegogi/src/httpclient.h, examples/kegogi/src/kegogi.c, examples/kegogi/src/kegogi_parser.h, examples/kegogi/src/kegogi_parser.rl, examples/kegogi/src/util.c, examples/kegogi/src/util.h: kegogi can now parse a file of the form GET http://www.google.com:90/foo/bar POST www.google.com:90/foo/bar HEAD www.google.com/foo/bar GET /foo/bar and perform the requests. Still need to add defaults, optional arguments, and expectation verification. [a5e0db4e25ca] * src/task/task.c: Doubled the default stack size so kegogi won't segfault in gethostbyname call stack (which is huge on MAC OS X). Can probably undo this later when kegogi starts by kicking off actual fetching tasks. [bda7a29c4452] 2010-08-01 kedrot@gmail.com * docs/manual/book.tex, docs/manual/book.wiki, docs/manual/commands.tex, docs/manual/contributing.tex, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/introduction.tex, docs/manual/managing.tex, docs/manual/preface.tex: LaTeX syntax details. Rewrote some sentences to fix overfull boxes. Reordered some commands to enable monospaced fonts where appropiate. [df499530374a] * src/pattern.c, tests/pattern_tests.c: Removed unnecessary comment and verified with a couple of tests. [686af47bfc54] 2010-08-01 * docs/manual/book.wiki: Updated book for the kids. [5f78aedd878e] 2010-08-01 kedrot@gmail.com * docs/manual/hacking.tex: Final chapter edited! [fcc85ec1f7ab] * docs/manual/managing.tex: Fixed unmatched ports. [0eec9e6dd535] 2010-07-31 * More updates from Tordek. [2e2f503d565c] 2010-07-31 kedrot@gmail.com * docs/manual/contributing.tex: Contributing section editing. [139af93f1d96] * docs/manual/deploying.tex: Deploying section fixed. Suspecting Zed's comma is broken. [0da9f55a6167] * docs/manual/book.tex: LaTeX syntax. [8e8b7e6b5753] * docs/manual/managing.tex: Fixed error caused by using verbatim. [f9f6e34e5da8] 2010-07-31 * examples/kegogi/Makefile, examples/kegogi/src/kegogi.c: First requests working, nothing much after that. [840b588e934a] * examples/kegogi/Makefile, examples/kegogi/src/fuzzrnd.c, examples/kegogi/src/fuzzrnd.h, examples/kegogi/src/httpclient_parser.c, examples/kegogi/src/httpclient_parser.h, examples/kegogi/src/httpclient_parser.rl, examples/kegogi/src/kegogi.c: Started the kegogi http client testing tool. [ea5a6065edaf] * docs/manual/book.wiki: Latest edits. [60010def1e25] * merge [985bd9e5686d] 2010-07-31 kedrot@gmail.com * docs/manual/managing.tex: Editing in managing. * Expanded on pattern matching. * Fixed ticket 1be112ff2265c0386f345a765b0b32182b3b133b * Fixed ticket dcbfd31d9a8991fe892bf637e7562ab144226203 * Moar commas. [df84ae4c27cf] 2010-07-31 * docs/manual/book.wiki: Rebuild of manual. [bf3ecce73a68] * Changes from Tordek for manual. [a098eb72e746] 2010-07-31 kedrot@gmail.com * docs/manual/preface.tex: Space after TeX logo. [b8ae6d28cacf] * docs/manual/preface.tex: Sections break if they're children of unnumbered chapters. [2d7b9049838d] 2010-07-31 * examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/rc.py: add support for a ~/.m2shrc which can hold a default db and host [a703caf6a570] 2010-07-31 * docs/manual/book.wiki: Lots of nice edits from Tordek. [9d484c2c402f] 2010-07-30 kedrot@gmail.com * docs/manual/installing.tex: Edited the Installing section. Mostly comma fixes. [f1498786288f] * docs/manual/preface.tex: Preface editing. [243d7c7c138d] * docs/manual/preface.tex: No need to hide the numbers; that's frontmatter for ya. [9016823feb40] * docs/manual/book.tex, docs/manual/book.wiki: Explicit front- and mainmatter instead of pagenumbering. [93d8e8c9849d] * docs/manual/introduction.tex: Introduction copyediting. [136b517d3120] 2010-07-30 * docs/manual/book.wiki, docs/manual/contributing.tex: Edits to the last chapter. [9805f5f66c26] * docs/manual/book.wiki, docs/manual/commands.tex, docs/manual/contributing.tex, docs/manual/preamble.tex, docs/manual/savetrees.bst, docs/manual/savetrees.sty: Draft of manual is DONE. [aae118d83124] * docs/manual/book.wiki, docs/manual/hacking.tex: Hacking chapter draft is DONE. [a7662c956127] * docs/manual/book.wiki, docs/manual/hacking.tex: Documented the handlertest and mp3stream examples. [3af410fa49a3] * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex: Had to put in some anti-panic about procer. [dd5cbbc70896] * docs/manual/book.wiki, docs/manual/hacking.tex: Book now has a full description of the message format with python samples. [40b8085c1d1f] 2010-07-30 * src/dir.c, src/mac_specific.c: Fix for large file serving on MAC OS X (bug e8eddb51a8). Check for errno 35 (resource temporarily unavailable) [b68de22c52cc] 2010-07-30 * src/pattern.c: Reddit actually found this potential bug, wonder why Lua had this in there. [f1f4bc3856a2] 2010-07-29 * docs/manual/book.wiki, docs/manual/hacking.tex: ZeroMQ section done. [cdb65159bc32] 2010-07-29 * examples/python/mongrel2/config/commands.py: catch another error, syntax error in a config [11799d062732] 2010-07-29 * docs/manual/book.wiki, docs/manual/hacking.tex: Working on the ZeroMQ docs. [73b47d55e537] * docs/manual/book.wiki, docs/manual/hacking.tex: Going through the features, having fun in the asides. [c5a40f5e0ddc] * docs/manual/book.wiki, docs/manual/hacking.tex: Hacking section layout. [e69291df24ae] * docs/manual/book.wiki, docs/manual/hacking.tex: Slight edit to the hacking. [451408c2ec88] * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex: Started the Hacking section. [7ba59ded5aaf] * docs/manual/book.wiki, docs/manual/deploying.tex: Edits. [af9c7e86fe5e] * docs/manual/book.wiki, docs/manual/deploying.tex: Quick edits to the deployment chapter. [c5b4101cbe30] * docs/manual/book.wiki, docs/manual/deploying.tex: Deployment chapter first draft is up. [98a04de73e17] * docs/manual/book.wiki, docs/manual/deploying.tex: First 2 steps of the sample deployment working. [a51f63fbac59] * docs/manual/book.wiki, docs/manual/deploying.tex, examples/procer/Makefile: Got the layout for deploying done. [761903047554] * docs/manual/book.wiki, docs/manual/installing.tex, docs/manual/managing.tex, examples/procer/Makefile, examples/procer/procer.c: Getting fixed up for the deployment section of the manual. [ab2a6dab0941] * examples/procer/procer.c: Stop spewing the subprocess into the screen, but not really the right way. [5710c21cff4f] 2010-07-28 * examples/procer/procer.c: Have procer drop priv to the owner of the profile dir so it can run as root. Make it create its pidfile. [4f5864481d01] * examples/python/mongrel2/config/commands.py: More like this, less exceptions, more checking right away and printing errors. [c1852a6f3410] 2010-07-28 * examples/python/mongrel2/config/commands.py: fix init_command not being able to create new files [2986b0f86307] * examples/python/mongrel2/config/commands.py: more exception handling for m2sh [b6969f6cc1e7] 2010-07-28 * docs/manual/deploying.tex, examples/procer/Makefile, examples/procer/procer.c, examples/procer/procer.h, examples/procer/profile.c, examples/procer/rampart.c: Created a fun little utility called procer for running a bunch of stuff and keeping it running. [3f11ce442883] 2010-07-27 * examples/python/mongrel2/config/commands.py: catch m2sh not finding a pid file [37ff244be5d5] 2010-07-27 * examples/python/tests/sample_conf.py: And put the example back the way it was. [cdc983714fcc] * examples/python/tests/sample_conf.py, src/dir.c: The damn pattern for checking dirs can't get straight so it's gone. [78477c12220b] * src/dir.c, src/task/fd.c: Small change to the pattern so it makes more sense, fix to the fd.c pattern for unsigned int. [e752c453c7f1] 2010-07-27 * src/task/fd.c: Get the maximum file descriptor count from the kernel instead of guessing [faa116042c40] 2010-07-27 * docs/manual/book.wiki, docs/manual/managing.tex: Fix formatting for TeX. [79b1f932205c] 2010-07-26 * docs/manual/book.wiki, docs/manual/managing.tex, examples/python/tests/mongrel2_org.py, examples/python/tests/sample_conf.py: Update the docs to mention the r'' format in Python. [b76b93d1e6ce] * docs/manual/book.wiki: Swapping chapter names for Managing and Deploying. [c422b5ea79f3] * docs/manual/book.tex: Swapping chapter names for Managing and Deploying. [6810859cde74] * docs/manual/book.wiki: Swapping chapter names for Managing and Deploying. [3e6677d5254b] * docs/manual/deploying.tex, docs/manual/managing.tex: Managing should be Deploying and v.v. [1068030e8d9f] * docs/manual/book.wiki, docs/manual/deploying.tex, src/pattern.c, tests/pattern_tests.c: Had to change the pattern escape code from % to \ before it's too late. URLs use %. [d7c13ce1a037] * docs/manual/book.wiki, docs/manual/installing.tex: github pyzmq moved [ae34903c06f0] * docs/manual/book.wiki, docs/manual/deploying.tex: Small format fixes. [2ead5d32e606] * docs/manual/book.wiki, docs/manual/deploying.tex: And deployment chapter is done. [fbf0dcd12272] * docs/manual/book.wiki, docs/manual/deploying.tex: Patterns now documented and how they work with routes. [394a6391aee6] * docs/manual/book.wiki, docs/manual/installing.tex: wink added a bit on updating from source [3fd7672e873b] * docs/manual/book.wiki, docs/manual/deploying.tex: Lua patterns documented. [07f23687c073] * docs/manual/book.wiki, docs/manual/deploying.tex: Explained the big example config. [ced739833ba2] * docs/manual/book.wiki, docs/manual/deploying.tex: More deployment goodness. [5483826d5815] * docs/manual/book.wiki, docs/manual/deploying.tex: Getting into how the configuration is structured. [bc80d22abae0] * docs/manual/book.wiki, docs/manual/deploying.tex: Getting into how the configuration is structured. [878a9d57b476] * docs/manual/book.wiki, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/managing.tex: More deploying chapter. [cdcc06a2ced4] * docs/manual/book.wiki, docs/manual/deploying.tex: More deploying chapter done. [cef393c4df8d] * docs/manual/book.wiki, docs/manual/deploying.tex: Deploying chapter started. [a2949383fa2f] * docs/manual/book.tex, docs/manual/book.wiki, docs/siteskin.sql: Moved the table of contents to the top. [d4797422d451] * docs/manual/Makefile, docs/manual/book.wiki, docs/manual/contributing.tex, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/introduction.tex, docs/manual/managing.tex: Chapter Installing done in the manual. [fe25149fec62] * docs/manual/book.wiki, docs/manual/introduction.tex: Introduction draft done. [752afee93d42] * docs/manual/book.wiki, docs/manual/introduction.tex: More introduction. [b0097e45f8ff] * docs/manual/book.wiki, docs/manual/introduction.tex, docs/manual/preface.tex: Some of the introduction. [02ddf51e6c6b] * docs/manual/book.wiki, docs/manual/preface.tex: Edits. [8f5c1589b9fa] * docs/manual/book.wiki, docs/manual/preface.tex: Edits. [e36b07ef7615] * docs/manual/book.wiki: Edits to the book. [37dfbbcd31ea] 2010-07-25 * docs/manual/preface.tex: Edits to preface. [5adaa3a15a98] * docs/manual/book.wiki, docs/manual/preface.tex: Started the preface. [82d240d7a2cb] * docs/manual/Makefile, docs/manual/book.wiki, docs/manual/clean.sed: Cleaning the HTML output with tidy and stripping useless crap. [682f2f15730b] * docs/manual/Makefile, docs/manual/book.wiki: Doing a convert to prevent wiki linking. [908184cce26d] * docs/manual/Makefile, docs/manual/book.wiki, docs/manual/preface.tex, docs/wiki/GettingStarted.wiki: Testing out using html escapes to prevent wiki linking bug. [b541c21452bd] * examples/python/mongrel2/config/commands.py: Catch ctrl-c as well as ctrl-d. [ad94a52a86ce] * docs/manual/book.tex, docs/manual/contributing.tex, docs/manual/deploying.tex, docs/manual/hacking.tex, docs/manual/installing.tex, docs/manual/managing.tex, docs/manual/preface.tex, docs/siteskin.sql: Book organized into the sections. [7d216e5a95f5] * examples/python/mongrel2/config/commands.py: Fixes bug in m2sh with international characters temporarily. [c18feec02d92] * docs/wiki/GettingStarted.wiki: Fixing a few annoying spots where the wiki syntax is trying to be helpful and not being. [9c5a0caf7c17] * docs/manual/book.html, docs/manual/book.wiki: Wrong extension. [368e060cd2c2] * docs/manual/book.html: Testing what it'll look like in doc/tip. [a78c59bc7ceb] * docs/manual/Makefile, docs/manual/book.tex, docs/manual/commands.tex, docs/manual/introduction.tex, docs/manual/preamble.tex, docs/manual/preface.tex, docs/siteskin.sql, docs/wiki/mongrel2.wiki: Started the little manual using LaTeX. [86eb662e3db0] * docs/wiki/Donate.wiki, docs/wiki/mongrel2.wiki: Damn links were pointed at localhost. [59695d0a77cb] * docs/wiki/Donate.wiki: Edits from my favorite grammar nazi. [293ce79d5e6f] * docs/wiki/Donate.wiki: Little statement about what they're for. [3bde178575fb] * docs/wiki/Donate.wiki: Must make sure donations are clear. [f7acb44d0278] * docs/wiki/Donate.wiki: Updated donations page to have the paypal button, complain about Amazon, and other ways to help. [ac9e95564de8] * docs/wiki/GettingStarted.wiki: Fossil needs to not interpret [] as jack squat in html or actually process . [eb5e3932ff94] * docs/wiki/GettingStarted.wiki, docs/wiki/License.wiki: Ok now with html protection off the verbatim class is needed. [1da0e854b324] * docs/wiki/Donate.wiki: Fossil's HTML scrubbing is ultra irritating. [67606ee8663c] * docs/wiki/GettingStarted.wiki: More wiki hacking. [a66e6dcd1fe9] * docs/wiki/ConnectionStateMachine.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/License.wiki: Verbatim sections cleaned up. [9eb916202130] * docs/wiki/GettingStarted.wiki: Tweaking the HTML dumped wiki pages. [14449096b5f6] * docs/wiki/ConnectionStateMachine.wiki, docs/wiki/DesignCriticisms.wiki, docs/wiki/Donate.wiki, docs/wiki/Donors.wiki, docs/wiki/GettingStarted.wiki, docs/wiki/License.wiki, docs/wiki/Thanks.wiki, docs/wiki/TooBad.wiki, docs/wiki/mongrel2.wiki: Switching to using the doc/tip setup instead of all the wiki pages. [28abad8b0f17] * docs/siteskin.sql: Keeping track of the official skin used on the fossil site. [b29ff3978cda] * src/handler.c, src/handler_parser.c, src/handler_parser.rl: Making 64bit shut up. [3e6a7d3da75c] * src/config/config.c, src/dir.c, src/pattern.c: Made a better error report when they screw up directory routes using a pattern. [65c21f9bb7b8] 2010-07-24 * src/connection.c, src/server.c: Host field was being ignored due to a bad refactoring, multiple host targets now work. [150f7837ddad] * src/dir.c: OSX seems to not respect NULL in realpath so we have to do the allocating. [3774289c8001] * examples/python/mongrel2/config/model.py, examples/python/tests/mongrel2_org.py: Implement the settings feature in the m2sh config system. [dfe36f563c9e] * src/dir.c: Check that dir prefixes are well formed. [b73d6e61fe59] 2010-07-24 * src/dir.c, src/dir.h: FIxes for directory uris. Now, going to host.com/dir will redirect to host.com/dir/ which will then return host.com/dir/default_file, which brings us in line with the way other servers work [33e14dd1dee4] 2010-07-24 * src/config/config.h, src/mongrel2.c, src/server.c: Config system now loads settings and you can change the 0MQ threads with it. [364e9cbaf41a] * examples/python/mongrel2/sql/config.sql, src/config/config.c, src/config/config.sql, src/setting.c, src/setting.h, tests/setting_tests.c: Added a global settings system for commong configurable settings. [b87cd54c7e14] 2010-07-24 * src/mongrel2.c, src/server.c: Bind port before dropping privs so we can bind ports below 1024 [1023268d0f4e] 2010-07-23 * src/connection.c, src/handler.c, src/headers.c, src/headers.h, src/host.c, src/host.h, src/request.c, src/request.h: Implemented PATTERN field to tell handlers what route pattern matched the request for SCRIPT_NAME. [80e2e385641f] * src/handler.c: Refactored and cleaned up handler recv code. [36d2c9365b06] * src/handler_parser.c, src/handler_parser.rl: Check to make sure we don't try to read too many targets. [1fe89fa5e0ed] * examples/chat/chat.py, examples/python/mongrel2/handler.py, src/handler.c: Handlers now have a more robust protocol to use and a correct parser to handle it. [d0b2fbadb757] * Makefile, src/handler_parser.c, src/handler_parser.h, src/handler_parser.rl, tests/handler_parser_tests.c: Started the ragel based handler response parser for higher robustness. [1494828edc8a] 2010-07-22 * src/mongrel2.c: Remove the pid file on shutdown. [9ad9afa0bc6a] * src/task/fd.c: Stuff for 64 bit to shut up. [46ee7c8eb959] * examples/python/mongrel2/config/commands.py, src/mongrel2.c: Commands in m2sh for stop, murder, reload and pid file is always created. [aa0a1b3745e8] * src/mongrel2.c: Make TERM the murder signal, and INT the graceful signal. [db54afb44a0f] * src/handler.c, src/handler.h, src/mongrel2.c, src/task/fd.c, src/task/task.c, src/task/task.h: Mostly working clean graceful shutdown and reload without exiting the process. Needs major cleanup. [06a8c3c14d2f] * src/dir.c: Refactoring the dir cache check into a function. [a8f1de43988b] * src/dir.c, src/dir.h: Well, looks like timers are huge CPU hogs, so the dir timer trick had to go. [a89987cb2cb6] 2010-07-21 * src/cache.c, src/cache.h, src/dir.c, src/dir.h: Enhanced filerecord caching to allow for Time To Live and staleness checks. [2ef4131842ef] 2010-07-21 * src/dir.c, src/task/task.c: Did the status file as JSON for fun. [7ae0c90c51e0] * tests/connection_tests.c: Connection tests won't work now that we use fdsend. [2d3e740e31a0] 2010-07-21 * src/cache.c, src/dir.c, src/dir.h: FileRecord caches are now per directory [d20348427143] 2010-07-21 * src/mongrel2.c, src/server.c: Mostly working clean shutdown, started reload, which works except for handlers. [5f18b0fb6551] * tests/server_tests.c: A bstring was accidentally shared between two structs. [ef08fbb69e13] * tests/server_tests.c: Updated tests to reflect new routing cleanup. [c10748e0b2b4] 2010-07-21 * tests/routing_tests.c: New changes to RouteMap cleanup weren't reflected in tests [422b312a4acf] 2010-07-21 * src/mongrel2.c: Better spot for the signal handler and ticker. [7dbaeef3dc25] * Makefile, src/dir.c, src/dir.h, src/handler.c, src/host.c, src/mongrel2.c, src/routing.c, src/routing.h, src/server.c: Very rough first cut of a clean shutdown and a way to eliminate repetitive time calls for Dir. [998904924439] 2010-07-20 * src/handler.c, src/task/fd.c: If a handler dies on send the whole process would block. Not cool. [7bacecac41fc] 2010-07-20 * src/cache.c: Clean up unnecessary debug statement [32996b5980d7] * src/cache.c, src/cache.h, src/dir.c, src/dir.h, tests/cache_tests.c: Added a simple general purpose LRU cache in src/cache.{h,c} and used it for a FileRecord cache (http://mongrel2.com/tktview?name=2aaa92fa9e). Changed the semantics of FileRecord so that now you find/release a file (rather than find/destroy). Destroy is called when the number of users (including the cache) reaches 0. This is good, because it means that we don't have to worry about closing the file during a long-lasting operation because we've evicted it from the cache. Finally, added a testfile (tests/cache_tests.c) to verify that the LRU cache works as expected. I also wrote a really simple test using javascript to fetch ranges of files (woo jquery), and used a debug statement for hits/misses to make sure that it all operated as expected. I'll add a bigger test to the dir tests later. [86ed41552ac1] 2010-07-19 * LICENSE, src/adt/tst.c, src/adt/tst.h, src/bstring.h, src/config/config.c, src/config/config.h, src/config/db.c, src/config/db.h, src/connection.c, src/connection.h, src/dbg.h, src/dir.c, src/dir.h, src/events.h, src/handler.c, src/handler.h, src/headers.c, src/headers.h, src/host.c, src/host.h, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/http11/http11_parser_common.rl, src/mac_specific.c, src/mac_specific.h, src/mime.c, src/mime.h, src/mongrel2.c, src/pattern.c, src/pattern.h, src/proxy.c, src/proxy.h, src/register.c, src/register.h, src/request.c, src/request.h, src/response.c, src/response.h, src/routing.c, src/routing.h, src/server.c, src/server.h, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, src/unixy.c, src/unixy.h: Mongrel2 is now BSD licensed. [a8e714c6c9c4] * src/task/task.c: Fixed permissions on the status file. [82c6072d9bba] * src/task/task.c: Fixed permissions on the status file. [ed1117226f70] * Makefile, src/config/config.c, src/connection.c, src/dbg.h, src/dir.c, src/handler.c, src/host.c, src/mongrel2.c, src/proxy.c, src/register.c, src/request.c, src/routing.c, src/server.c, src/unixy.c, tests/bstr_tests.c: Cleaned up error messages and handling so that we can compile with debug messages but still get useful stuff. [aaf65df7e965] * Makefile, tests/valgrind.sup: Created a valgrind suppression file for some zmq stuff we can't fix. [4dcb68dd492f] 2010-07-18 * src/handler.c: I should pay attention to my own comments. [877b86332369] 2010-07-18 * Makefile, examples/mp3stream/handler.py, examples/mp3stream/mp3stream.py, examples/python/mongrel2/sql/config.sql, examples/python/tests/mongrel2_org.py, src/handler.c: Fixes from the latest mp3stream tests. [f75169135acf] 2010-07-18 * examples/mp3stream/handler.py, examples/mp3stream/mp3stream.py: Much cleaner mp3stream example. [f70a1d4e54f7] * examples/mp3stream/mp3stream.py, examples/mp3stream/stream_conf.py: Barely working mp3strag mp3streaming example. [9b7ebecb4405] * src/handler.c: Invalid destroy, 0mq should do this. [44b420022a80] * src/handler.c: Bug in how the target ints are parsed, time to write a parser methinks. [c017cfbba1a3] 2010-07-18 * examples/python/setup.py, src/dir.c: Added storm to required m2sh packages. [efdb970fe47a] 2010-07-18 * Makefile, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/sql/config.sql: Start, stop, running commands for managing a server. [75b098b68a6e] 2010-07-17 * examples/python/mongrel2/config/model.py, examples/python/tests/mongrel2_org.py, examples/python/tests/sample_conf.py, src/config/config.c, src/config/config.sql, src/config/example.sql, src/mongrel2.c, src/server.c, src/server.h, tests/connection_tests.c, tests/server_tests.c: Mongrel2 now actually does what you tell it to do in the server table config. [de5ecd1c20fb] * examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py: Implemented a mini config management log. [5817ba6e0756] * examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, src/config/config.sql: Beginning of a commit/action log built in to the database. [8d791231d7da] * examples/python/mongrel2/config/__init__.py, examples/python/mongrel2/config/commands.py, examples/python/tests/composite_conf.py: Implemented include for doing composite configs. [1e0c94f62237] * examples/python/setup.py: m2conf no longer needed. [7b5c5b5f7a0e] * examples/python/tests/mongrel2_org.py: Sample mongrel2.org config needed updating. [54f75ce346a2] * Makefile, examples/python/bin/m2conf, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/setup.py, examples/python/tests/mongrel2_org.py, examples/python/tests/sample_conf.py: Ditched the m2conf, m2sh is better, got first cut of full config system working. [301549b6146d] * examples/python/mongrel2/config/__init__.py, examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/tests/mongrel2_org.py, examples/python/tests/sample_conf.py: A bit more config system worked out, working great as just plain python. [7dcd92d909ba] * src/request.c: Don't free host header since it's in the dict. [546f72059b14] 2010-07-16 * examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/tests/sample_conf.py: Can actually build a config from just raw python. Might just go with that for now. [835ea99ce702] * examples/python/bin/m2conf, examples/python/mongrel2/config/commands.py, examples/python/setup.py: Made a second m2conf that's basically the same but help is the default command. [0a4b2a7dad9e] * examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py: Model is complete and actually works as described. [b6300e021184] * examples/python/mongrel2/config/commands.py, examples/python/mongrel2/config/model.py, examples/python/setup.py: Initial model based on Storm and a simple dump command. [749f4cbf02e2] * examples/python/bin/m2sh, examples/python/mongrel2/config/__init__.py, examples/python/mongrel2/config/args.py, examples/python/mongrel2/config/commands.py, examples/python/setup.py: Start of the m2sh control/config tool. [4a48e68f8279] 2010-07-15 * src/config/config.sql: default_type is now part of each directory. [ba1e2ed58c40] * src/config/config.c, src/config/config.sql, src/config/example.sql, src/dir.c, src/request.c: Got multi-target routes going to dir handlers with the prefix inferred from the route. [6aa24317b638] * src/config/config.c, src/config/config.sql, src/config/example.sql, src/dir.c, src/dir.h, tests/connection_tests.c, tests/dir_tests.c: Dir now lets you configure the default ctype per directory served. [46923d9c7351] * src/connection.c, src/dir.c, src/headers.c, src/request.c, src/request.h: Extract host header into request ahead of time. Fixed a bug in the dir 304 code. [b0fb2c953baf] * src/connection.c, src/dir.c, src/response.c, src/response.h: Sprinkled error status codes in the state machine. [60920bdbc72a] * src/dir.c: Drop the connection close and let keep-alive happen. [eb782090ca64] 2010-07-15 * tests/dir_tests.c: Error in how the dir manages ram wasn't updated in test. [9889dc94ae7e] 2010-07-15 * src/config/config.c, src/connection.c, src/dir.c, src/dir.h, src/headers.c, src/headers.h, src/host.h, src/request.c, src/request.h, src/response.c, src/response.h, tests/connection_tests.c: The works, etag, if-modified-since, if-unmodified, etc. [fa599de81f24] 2010-07-15 * examples/chat/static/app.js: Chat demo should notify who's in the room. [6fe21bebce9a] 2010-07-15 * examples/chat/chat.py: Fixed up the chat demo so it is simpler. [0edadaf28828] 2010-07-14 * src/config/example.sql: Need another route to make the chat example work for both proxy and self-serving. [3a005015984a] * Makefile, src/config/config.c, src/config/config.sql, src/config/example.sql, src/dir.c, src/dir.h, tests/connection_tests.c: Real file serving is working, minus etag support on requests. [6df0c5784c4e] * src/dir.c: Too many fdclose. [c019695dfc56] * src/connection.c, src/dir.c, src/dir.h, tests/dir_tests.c: Refactored the directory serving to allow for better header/file caching and easier usage. [542544eb61c1] * Makefile: Seems sometimes make thinks it needs to run ragel, so make it explicity. [d148fbb7ff51] 2010-07-13 * examples/http_0mq/http.py, examples/python/mongrel2/handler.py, examples/python/mongrel2/request.py: Bug where HTTP handler sample can't handle disconnects right, so it goes into a nasty loop. [d94b3c6eb2ec] 2010-07-13 * tests/handler_tests.c: Handler_deliver seems to die now that it's upstreamed. [3afaab2e5320] 2010-07-13 * examples/chat/chat.py, examples/http_0mq/http.py, examples/python/mongrel2/__init__.py, examples/python/mongrel2/handler.py, examples/python/mongrel2/request.py, examples/python/setup.py, examples/python/tests/__init__.py, src/handler.c: Implemented and then used a Mongrel2 Python library for doing handlers. [c12af7fb4ec3] 2010-07-13 * examples/http_0mq/http.py, src/connection.c: Fixes from deploy test. [751d43ec859a] 2010-07-13 * examples/chat/chat.py, examples/chat/static/app.js, src/handler.c, src/headers.c, src/headers.h, src/request.c: Got the leave message right, it's now disconnect. [3d27a56110f7] * src/connection.c, src/connection.h, src/response.c, src/response.h: Implemented 20k max request bodies with a 413 error if they're too large. [2e08a3fa0c0a] * src/adt/tst.c, src/handler.c: Refactor of the 'stackless' tst_traverse. [151f3fb6391c] 2010-07-13 * src/adt/tst.c: Saving ourselves from overflowing the stack with tst_traversal by using a queue on the heap instead of recursion (BFS FTW) [c52050ea54e8] 2010-07-12 * src/unixy.c, tests/unixy_tests.c: A buffer overflow caused getcwd to fail on some platforms. Fixed a leak too. [7b2377abdfb6] * src/unixy.c: chroot and droppriv security fixes from Andreas Krennmair. [50f21aa2b815] * Makefile, tests/runtests.sh: Run the tests with a script for better debugging. [d868281c4ff5] 2010-07-12 * src/unixy.c: Got rid of an unused label to get rid of a warning [5557c6b25c3d] 2010-07-12 * src/unixy.c: Some linux source cleanups of the pid management code. [d46bc7180919] 2010-07-12 * src/unixy.c: More portable Unixy_still_running using kill. ticket 6060d8a0a55ed76719ace7020ce5503fa8727c34 [32fe6ba48c26] 2010-07-12 * examples/chat/chat.py, src/mongrel2.c, src/task/task.c, src/unixy.c, tests/unixy_tests.c: Changes from the latest deploy test. [f0682073f853] 2010-07-11 * src/handler.c: Crash in handler test because of close a NULL socket. [c0b9dd741a87] * examples/chat/idiots, src/handler.c, src/handler.h, src/mongrel2.c, src/unixy.c: More moving startup crap around to keep the daemon happy. [0c2060637c39] * src/unixy.c: OSX changes for pid management. [cbdb417bb5f4] * src/mongrel2.c, src/unixy.c: Yeah, that PID thing didn't work at all. [005a1723d7e1] * examples/chat/chat.py, examples/http_0mq/http.py, tests/chat.py, tests/http.py: Move these out of the test directory and into the examples directory. [b2e7adf5c3d6] * examples/chat/app.js, examples/chat/chat.js, examples/chat/css/960.css, examples/chat/css/reset.css, examples/chat/css/site.css, examples/chat/css/text.css, examples/chat/flash/JsSocket.hx, examples/chat/flash/Makefile, examples/chat/flash/jsSocket.as, examples/chat/flash/jsSocket.swf, examples/chat/flash/jsSocket2.swf, examples/chat/fsm.js, examples/chat/index.html, examples/chat/js/jsSocket.js, examples/chat/js/jsonStringify.js, examples/chat/static/960.css, examples/chat/static/app.js, examples/chat/static/chat.js, examples/chat/static/flash/JsSocket.hx, examples/chat/static/flash/Makefile, examples/chat/static/flash/jsSocket.as, examples/chat/static/flash/jsSocket.swf, examples/chat/static/flash/jsSocket2.swf, examples/chat/static/fsm.js, examples/chat/static/index.html, examples/chat/static/js/jsSocket.js, examples/chat/static/js/jsonStringify.js, examples/chat/static/reset.css, examples/chat/static/site.css, examples/chat/static/text.css, examples/chat/www.py, src/connection.c, src/handler.c, src/handler.h, src/request.c, src/request.h, tests/chat.py, tests/handler_tests.c, tests/http.py: Payload format is completed, minus parsing off the UUID on replies, and examples are migrated to it. [0c02826cce4a] * src/mongrel2.c, src/unixy.c: Unixy stuff needed some cleanup. [67aff47fa67b] * src/server.c: Server should bind late as possible. [dae18e1fc406] * src/unixy.c, src/unixy.h, tests/unixy_tests.c: OSX fixes for the Unixy stuff, since OSX is only a little Unixy at times. [54edb2a52424] * src/mongrel2.c, src/unixy.c: Got the unixy stuff initially in the main binary, next to clean it up. [c69a8bbcaa2f] * src/mongrel2.c, src/unixy.c, src/unixy.h, tests/unixy_tests.c: Start of the unixy module, for unixy stuff. [906fabfc8173] * src/host.c: Try just using simple prefix rather than full collect on URL routing. [dca7afef116b] * src/adt/tst.c: Removed debug prints. [92b62530e5f6] * Makefile, src/connection.c, src/events.h, src/state.c, src/state.rl: Cleans up events and adds .rl files to build. [cfef4849d2d3] * Makefile: Treats .S assembler files the same way .c are loaded. [41ae4221c754] * Makefile: Now builds on OSX, might not run right though. [ec71cb9a405b] * Makefile: Regenerate the tests/config.sqlite file from the example config. [ae073d2e03f3] * Makefile, premake4.lua: Goodbye Premake4. Hello gmake. [f098b248d847] * src/connection.c: Use %d and (int) as the most portable. [a07b51df3365] 2010-07-11 * src/bstr/bstrlib.c, src/connection.c, src/dir.h, src/mac_specific.c, src/mac_specific.h, src/mem/halloc.c: First fixes towards getting this compiling on mac os x again. Namely, a change to a format string and changing some preprocessor/header stuff. The big change is adding mac_specific, which adds mac_sendfile(...) (a wrapper for mac's sendfile, which has completely different semantics from linux sendfile) Compilation is still broken for mac though, so I'm only *pretty* sure that I've wrapped sendfile correctly. Still, IMHO it's good to get mac_specific in there in case any other mac commits come in. [299b8f3113d9] 2010-07-10 * src/adt/tst.c, src/adt/tst.h, src/connection.c, src/host.c, src/host.h, src/routing.c, src/routing.h, src/server.c, src/server.h, src/state.c, src/state.rl, tests/tst_tests.c: Additional functionality to tst, fixed tst prefix/suffix/collect, and now URL matching is correct again. [5add2c084187] 2010-07-09 * src/connection.c, src/request.c, tests/bad_client.py: Small changes to ensure no buffer overflows during reading, and a simple fuzzer in python. [fb7a5e742901] * src/connection.c, src/state.c, src/state.rl: Making sure that proxy connection tasks are cleaned up correctly on transitions. [7377a3f41c4e] 2010-07-08 * src/task/task.c: Quick change to status dump to put the status in a file in /tmp. [160123494874] 2010-07-07 * src/connection.c: Make sure the connection is invalidated on proxy exit. [33bef6e1c8dd] * docs/state.g, src/state.c, src/state.rl, src/state_machine.rl: Will see if this causes some havoc by doing a close on context switch and waiting. [4b0e27e72c0d] 2010-07-06 * examples/chat/app.js, examples/chat/chat.js, examples/chat/css/960.css, examples/chat/css/reset.css, examples/chat/css/site.css, examples/chat/css/text.css, examples/chat/flash/JsSocket.hx, examples/chat/flash/Makefile, examples/chat/flash/jsSocket.as, examples/chat/flash/jsSocket.swf, examples/chat/flash/jsSocket2.swf, examples/chat/fsm.js, examples/chat/index.html, examples/chat/js/jsSocket.js, examples/chat/js/jsonStringify.js: Added the mongrel2 chat demo, still needs lots of work. [033de80aadcc] * src/connection.c: No need to close the socket again. [c555af6ff1d4] 2010-07-06 * src/register.c, tests/chat.py, tests/http.py: Fixes from the latest deploy test. [0b9d22c6347e] 2010-07-06 * src/config/example.sql, src/connection.c, src/connection.h, src/handler.c, src/headers.c, src/headers.h, src/register.c, src/register.h, src/request.h, tests/http.py, tests/register_tests.c: Initial barely working HTTP requests to 0MQ handlers with a quick SCGI format. [75ada1752546] * src/connection.c, src/state.c, src/state.h, src/state.rl, tests/state_tests.c: Turns out none of the callbacks need the State param, and giving it to them is dangerous. [965e90946a3c] * src/connection.c: Accidentally left the b64 header in there. [6cafcd44bef1] * src/b64/b64.c, src/b64/b64.h, src/bstr/bstraux.c, src/connection.c, src/response.h: Fixed the damn b64 encoding in bstring so I can use it. [01dad8dda102] * src/connection.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/state_tests.c: Screw that, MSG can't go to directory backends. Makes no sense in a *web server*. [99f3e3680a08] * src/connection.c, src/request.h: Added the ping captures so they're not passed to the backend. [64ee0b4e9d54] 2010-07-05 * src/connection.c: Buffer overflow in request parsing because of do/while. [a2b4570cea3a] * src/http11/http11_parser.c: Damn, forgot to regen the Ragel http parser. [100f6caf1a28] 2010-07-05 * src/connection.c: Do not need that extra bdestroy. [716ad49306c9] 2010-07-05 * src/connection.c, src/headers.c, src/proxy.c, src/proxy.h, src/request.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/proxy_tests.c, tests/state_tests.c: We now have a nearly fully operational proxy FSM that can handle mixed requests over keep-alives, gets headers, right, and handles post/put bodies. [ce56bf47fd7d] * src/http11/http11_parser.c, src/http11/http11_parser.rl, src/http11/http11_parser_common.rl: Upcasing and converting the headers is pointless in C because we use a btree/dict, not a stupid hashmap like Ruby. [ac2e60851814] * src/config/example.sql, src/connection.c, src/connection.h, src/mongrel2.c, src/request.c, src/request.h, src/state.c, src/state_machine.rl, tests/sample.html, tests/state_tests.c: Nearly there, proxying now works the way people expect, with switching from proxying to not works and maintains keep-alives. [ee056d575db9] * src/connection.c, src/headers.c, src/headers.h, src/request.c, src/request.h, src/response.c, src/response.h: Moving some constants around, started the response gear, cleaned up how request is accessed with some macros. [fe55e8ef5eae] 2010-07-04 * src/connection.c: Reverted to before experiment. [309cf7209ed2] 2010-07-04 * src/connection.c, src/proxy.h: Experiment over, more FSM to manage needed keep-alives. [dc7aaff614e3] 2010-07-04 * src/connection.c: An initial quick change to close proxy connections even on keep- alive. Next step FSM changes to make this work correctly. [09d10d711e44] 2010-07-04 * src/connection.c, src/dir.c, tests/state_tests.c: Fixes from 64bit and an error in dir serving from not properly checking return values. [1d6b9dd8635a] 2010-07-04 * src/connection.c: Need to track content length for some testing. [69a02bac817f] * src/connection.c, src/dir.c, src/proxy.c, src/register.c, src/server.c, src/state.c, src/state_machine.rl, src/task/net.c, src/task/task.h, tests/connection_tests.c: Cleanup of error conditions and sending out a couple of standard HTTP errors. [2bef04ab2e35] * src/connection.c, src/proxy.c, src/state.c, src/state.rl, src/state_machine.rl, tests/state_tests.c: Cleaned up the failure modes and close operations so they're reliable. Inverted who is controlling proxy vs. listener side. [0a0c7a4d3da8] * src/connection.c, src/proxy.c, src/proxy.h: Needed to rename these sockets to keep them straight. [e7490abdf9a6] * src/connection.c, src/proxy.c, src/proxy.h, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, src/task/rendez.c, src/task/task.h, tests/proxy_tests.c, tests/state_tests.c: Further along refining the proxy handling. [3efaea5f3454] 2010-07-03 * src/connection.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/state_tests.c: Alright, this setup makes way more sense. Names of actions say what you should do, and removed anything I'm not supporting right now. [ceb30f90b26c] * src/connection.c, src/connection.h, src/proxy.c, src/routing.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/state_tests.c: Breaking commit, need to totally rename the actions, trim them down, and rethink the proxy handling. [7835ad093b27] 2010-07-02 * src/connection.c: Implemented actual host resolving for all request types, but had to scale back on the pattern matching. [568a36a8bdee] * src/config/example.sql, src/connection.c, src/routing.c, src/routing.h, src/server.c, src/server.h, tests/config_tests.c: Implemented actual host resolving for all request types, but had to scale back on the pattern matching. [f5e2f705fe3c] * premake4.lua, src/connection.c, src/connection.h, src/dir.c, src/handler.c, src/listener.c, src/listener.h, src/request.h, src/server.c, src/state.c, src/state.h, src/state.rl, src/state_machine.rl, tests/connection_tests.c, tests/listener_tests.c, tests/sample.http, tests/state_tests.c: Half through refactoring listener into connection using state machine. [d43d7c848442] * tests/minunit.h: Some minor changes to the minunit for better logging. [968738c9a3df] 2010-07-01 * src/state.c, src/state.rl: Only run actions that are set in the callbacks. [571ba4e6def4] * src/events.h, src/state.c, src/state.h, src/state.rl, tests/state_tests.c: Now callbacks are active and tested. [5e0bb4493329] * src/events.h, src/state.c, src/state.h, src/state.rl, tests/state_tests.c: Ability to print out an event for debugging. [a202ee51acbe] * src/state.c, src/state.rl, src/state_machine.rl, tests/state_tests.c: Separate the actual state machine from the code and actions. [0d64847539aa] * src/state.c, src/state.rl: Last commit was accident. Now have instrumentation for proxy actions. [7fcc9692b658] * src/state.rl: Instead of JSON use MSG to be generic and future proof. [0ea07e5bcb55] * src/events.h, src/state.c, src/state.rl, tests/state_tests.c: Instead of JSON use MSG to be generic and future proof. [5c770d77a72c] * src/events.h, src/state.c, src/state.rl, tests/state_tests.c: More fleshed out connection state machine, with better test runner and more edge cases covered. [62bc2681d288] 2010-06-30 * src/state.c, src/state.rl: Making the finish fire on CLOSE. [3efe10d4fb79] * premake4.lua, src/events.h, src/state.c, src/state.h, src/state.rl, tests/state_tests.c: Starting to build the grand connection statemachine using Ragel state charts. [3c7dee8043ac] * src/dir.c, src/listener.c, src/listener.h, src/request.c, src/request.h, src/server.c, tests/listener_tests.c, tests/request_tests.c: Cleaned up Requests to get ready for more accurate parsing. [fa5fc6fb23dd] * premake4.lua, src/adt/tst.c, src/host.c, src/mime.c, src/mime.h, src/routing.c, src/server.c, src/task/net.c, tests/config_tests.c, tests/db_tests.c, tests/dir_tests.c, tests/handler_tests.c, tests/listener_tests.c, tests/mime_tests.c, tests/server_tests.c: Nearly all tests are valgrind pure, minus config and some 0MQ errors. [38303de35cc9] 2010-06-29 * premake4.lua, src/proxy.c, src/routing.c, src/routing.h, tests/bstr_tests.c, tests/proxy_tests.c, tests/routing_tests.c: More valgrind purity. [29d9adef4f97] * premake4.lua, src/adt/tst.c, src/bstr/bstraux.c, src/dir.h, tests/bstr_tests.c: Fixed some memory leaks in bstring. [849e8534a25f] * src/adt/tst.c, src/adt/tst.h, tests/tst_tests.c: TST now uses halloc to make it quick and easy to nuke it. [ae96cf544789] 2010-06-29 * tests/chat.py: Needed an idiots list of the chat, already. [a619d4079b91] 2010-06-29 * src/handler.c, src/listener.c: Removed some debug logging. [f1449c47118a] * src/b64/b64.c, src/b64/b64.h, src/handler.c, src/listener.c: The bstring base64 library is email style, with newlines, so it chokes jssocket. [99aef1b6c46e] 2010-06-29 * src/config/config.c: Fixes for bad frees on error. [008695119d9a] 2010-06-29 * src/bstring.h: Forgot include. [609afe02dabd] * Makefile, src/b64/b64.c, src/b64/b64.h, src/b64/implicit_link.h, src/bstr/bstraux.c, src/config/config.c, src/dir.c, src/dir.h, src/handler.c, src/handler.h, src/host.c, src/host.h, src/listener.c, src/listener.h, src/mime.c, src/mime.h, src/pattern.c, src/pattern.h, src/proxy.c, src/proxy.h, src/request.c, src/request.h, src/routing.c, src/routing.h, src/server.c, src/server.h, tests/chat.py, tests/dir_tests.c, tests/handler_tests.c, tests/listener_tests.c, tests/mime_tests.c, tests/proxy_tests.c, tests/routing_tests.c, tests/server_tests.c: Giant commit that completely switches over to bstring for string handling, adds multi-target handler responses, and lots of cleanups. [a9c94b28d857] 2010-06-28 * Makefile, premake4.lua, src/bstr/bsafe.c, src/bstr/bsafe.h, src/bstr/bstraux.c, src/bstr/bstraux.h, src/bstr/bstrlib.c, src/bstr/bstrlib.h, src/mem/align.h, src/mem/halloc.c, src/mem/halloc.h, src/mem/hlist.h, src/mem/macros.h, tests/bstr_tests.c: This is a build breaking commit, will be fixing security problems today. [f09872fc11a3] * src/dir.c, src/mongrel2.c: Quick update to have chroot work for basic tests of Dir safely. [754a70d93d6e] * tests/config_tests.c: Better error message for why this test fails. [f5dea8913e59] * src/dbg.h: Turn debugging back on. [051ed62c7f09] * premake4.lua, src/adt/tst.c, src/config/config.c, src/config/config.h, src/dbg.h, src/dir.c, src/host.c, src/listener.c, src/mime.c, src/mime.h, src/mongrel2.c, tests/mime_tests.c: Files are new served with a correct MIME type from the mimetype table based on TST suffix search. [4a53b30e53e8] * src/adt/tst.c: Changed semantic of tst suffix search to find the longest possible match. [9029fd6264ca] * premake4.lua: Start loading the mimetypes on config setup. [d654718e91ba] * src/config/config.sql, src/config/example.sql, src/config/mimetypes.sql: Speed up the sql loads by wrapping in transactions. [1ec6b0aef267] * src/config/config.c, src/config/config.sql, src/config/example.sql, src/dir.c, src/dir.h, src/host.c, src/host.h, src/listener.c, src/listener.h, src/mongrel2.c, src/pattern.c, src/proxy.c, src/task/fd.c, src/task/task.h: Initial very basic file serving off a route, with extra pattern matching feature. [5fb8b45ed9c8] 2010-06-27 * src/handler.c, src/listener.c, src/proxy.c, src/request.c, src/server.c, src/task/task.c: Some libtask cleanups and instrumentation for status. [2b1b84763729] 2010-06-27 * src/server.c: Fix from gcc complaints. [7e17dff659bd] 2010-06-27 * src/config/config.c, src/handler.c, src/http11/http11_parser.c, src/http11/http11_parser_common.rl, src/listener.c, src/listener.h, src/request.c, src/server.c, tests/chat.py, tests/listener_tests.c, tests/sample.json: Routing of jssockets now works via a tiny 'path', and handlers load properly. [2f44fe9d12c7] 2010-06-27 * premake4.lua, src/adt/tst.c, src/config/config.c, src/dbg.h, src/dir.c, src/dir.h, src/handler.c, src/host.c, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/listener.c, src/listener.h, src/pattern.c, src/proxy.c, src/register.c, src/register.h, src/request.c, src/routing.c, src/task/task.h, tests/config_tests.c, tests/handler_tests.c, tests/listener_tests.c, tests/routing_tests.c, tests/server_tests.c, tests/tst_tests.c: Turned on insane errors and fixed everything that came up. [ea8c9ffe9717] 2010-06-27 * premake4.lua, src/config/example.sql, src/http11/http11_parser.c, src/http11/http11_parser_common.rl, src/listener.c, src/request.c, src/request.h, tests/listener_tests.c, tests/request_tests.c: Now fully handling requests and responding based on routing. [b6a32cd984a0] 2010-06-26 * tests/dir_tests.c: Forgot a test for dir ops. [49ff01d80190] * src/dir.c, src/dir.h, src/http11/http11_parser.h, src/listener.c, src/register.c, src/task/fd.c, tests/sample.resp: Initial debugging of the HTTP handling, not functional yet. [b8161a1f399b] * src/config/example.sql: Changes for the new build. [153877e13490] * Makefile, premake4.lua, src/mqshell.c, src/task/Makefile: Switched to premake4 for the build system. [c34a720179bc] 2010-06-25 * src/host.c, src/register.c, tests/listener_tests.c: Fixed valgrind bugs found on deploy. [32d7716f46ed] 2010-06-25 * src/config/config.c, src/config/config.h, src/mongrel2.c, tests/config_tests.c: Slightly improved config method to load individual servers. [38805345ab1b] * src/config/config.c: Got the proxy spec backwards. [99dee6f50d69] * Makefile, src/config/config.c, src/config/config.h, src/config/config.sql, src/config/db.c, src/config/example.sql, src/dbg.h, src/host.c, src/mongrel2.c, src/routing.c, src/server.h, tests/config_tests.c: First working config loaded from sqlite. [c38d662d001e] * tests/db_tests.c: Tests pass now for DB stuff. [0f943e6a4e31] * Makefile, src/config/config.h, src/config/db.c, src/config/db.h, tests/db_tests.c, tests/sample.http: Database querying working in a basic way. [c1d3ecdf05a0] 2010-06-24 * src/config/config.sql, src/config/example.sql: First cut at the new SQL interface. [ffcf91d124e8] * src/host.c, tests/listener_tests.c, tests/sample.garbage, tests/sample.json, tests/sample.xml: More testing of listener, making sure http and garbage is handled. [5787b4ececfa] * src/listener.c, src/listener.h, tests/listener_tests.c, tests/minunit.h: Some additional testing for the new listener code. [fdf1fb9713aa] * tests/handler_tests.c: Resolved some timing issues in the handler tests. [51198dffcf9f] * src/adt/tst.c, src/listener.c, src/routing.c, src/routing.h, src/server.c: Got the hosts inserted in reverse for lookups. [fa81320be397] * src/listener.c, src/proxy.c, src/routing.c, src/task/fd.c, src/task/task.h: To resolve problems with socket signals and files made send/recv, read/write functions for tasks. [39b78725d044] 2010-06-24 * src/mongrel2.c, src/task/fd.c, tests/chat.py: Gotta solve SIGPIPE once and for all. [33a4c7dae754] 2010-06-23 * src/listener.c, src/server.c, tests/chat.py: A couple memory leaks and a log of each python message. [72d5e03192af] * src/host.c, src/host.h, src/listener.c, src/mongrel2.c, src/proxy.c, src/proxy.h, src/routing.c, src/server.c, tests/server_tests.c: Listener side is working and valgrind pure. [54467f88e7eb] * src/host.c, src/host.h, src/listener.c, src/listener.h, src/mongrel2.c, src/proxy.c, src/server.c, src/server.h, tests/listener_tests.c, tests/server_tests.c: First refactoring, tests pass but doesn't run. [8685816f2ebe] * src/host.c, src/host.h, src/mongrel2.c, src/server.c, src/server.h, tests/server_tests.c: Breaking commit with this as the goal. Nothing work ATM. [e26d09d98c6c] * src/host.c, tests/pattern_tests.c: Extending the pattern matching tests to make sure I know what the code does. [97111d87efaf] 2010-06-22 * src/adt/tst.c, src/routing.c, tests/routing_tests.c, tests/tst_tests.c: Fixed the last of the routing bugs, now work as expected. [697fdf1ad772] * Makefile, src/host.c, src/task/fd.c: Looks like there might be some contention between linux/osx on NOPIPE. [ebc8cdc8a1d5] 2010-06-21 * tests/routing_tests.c: Tests make sure that the right data is returned. [c8dffb71b90c] * src/adt/tst.c, src/adt/tst.h, src/routing.c, tests/routing_tests.c, tests/tst_tests.c: Routing mostly working, a couple of edge cases but the meat works. [c29c4f2486f9] 2010-06-20 * Makefile, src/routing.c, src/routing.h, tests/routing_tests.c: Started the routing system from tst and pattern match. [942fa1efc53f] * src/adt/tst.c, src/adt/tst.h, src/pattern.c, src/pattern.h, tests/pattern_tests.c, tests/tst_tests.c: Plan B, routing should do the tst matching, add parens to match for that. [d7d4f7758dac] * src/pattern.c, src/pattern.h, tests/pattern_tests.c: Fast pattern matching of strings in the tst now implemented, not super efficient yet. [808a4f1e2bbd] * tests/pattern_tests.c: An edge case to confirm for $ matching the NUL terminator. [ca446301e4a9] * Makefile, src/pattern.c, src/pattern.h, tests/pattern_tests.c: Stole the Lua pattern stuff and stripped it down for the routing. [b22e7528760f] * Makefile, src/adt/tst.c, src/adt/tst.h, tests/tst_tests.c: TST data structure tests. [efeee188cd1d] * Makefile, src/server.c, tests/server_tests.c: Server test suite setup. [d34d9c4a1218] * Makefile, tests/listener_tests.c: Listener tests started. [f41fe2d45068] * Makefile, src/handler.c, tests/handler_tests.c: Handler tests. [6760eb4725f4] * Makefile, tests/host_tests.c, tests/proxy_tests.c, tests/register_tests.c: Proxy tests added, not complete though. [edaeff92968b] * Makefile, tests/host_tests.c, tests/minunit.h, tests/register_tests.c: Socket register tests. [322376956ff9] * Makefile, docs/Makefile, src/adt/tst.c, src/adt/tst.h, src/config/config.sql, src/host.c, src/host.h, src/listener.c, src/mongrel2.c, src/server.c, src/server.h, tests/host_tests.c, tests/minunit.h: First unit tests running, man I need these bad. [420222d3fd72] * src/manifest, src/manifest.uuid, tests/sender.py: Junk from a bad commit. [ef7a39dc5f65] 2010-06-19 * src/server.c: Need to do the check right. [48552892fb89] * src/server.c, src/server.h: More configuration refactoring. Getting closer. [e56806044811] * src/server.c, src/server.h: More checks, and the start of a server data struct. [bdc7427a9bd3] * src/handler.c, src/handler.h, src/listener.c, src/listener.h, src/proxy.c, src/proxy.h, src/server.c: More refactoring for configurability and to make more sense. [45dff20f0415] * src/listener.c, src/proxy.c, src/server.c, src/task/386-ucontext.h, src/task/amd64-ucontext.h, src/task/asm.S, src/task/context.c, src/task/fd.c, src/task/net.c, src/task/power-ucontext.h, src/task/print.c, src/task/qlock.c, src/task/rendez.c, src/task/task.c, src/task/taskimpl.h: Removed tabs from the source, because tabs hate diffs and merging. [e56e07937a96] * src/except.c, src/except.h, src/sfx.c, src/sfx.h: Don't need these old kazlib exception things. [62181996c300] * src/listener.c: Fix segfault from notifying handler after pair was freed. [a7dc12904780] * src/handler.c, src/handler.h, src/listener.c: Cleanup of how handlers are notified of listener death. [7f529f11ab2b] * src/listener.c, src/register.c, src/server.c: Fixed the remaining bugs to get back to working before refactor state. [5c22a40feb89] 2010-06-18 * Makefile, src/handler.c, src/handler.h, src/listener.c, src/listener.h, src/server.c: Handlers are now in their own setup too. [233aedd3b9c8] * Makefile, src/dbg.h, src/listener.c, src/listener.h, src/proxy.c, src/proxy.h, src/server.c: Moved listener code into different module. Made proxy module like the others. [a8bdd74ea53b] * src/register.c, src/register.h, src/server.c: Moved the registrations stuff to a different module. [65a136f624f8] * Makefile: Yeah that patch didn't work. Nice job. [f9b13dfda6ea] * Makefile: Fix to the make file to create the build dir. [e3968b1ab519] 2010-06-17 * src/server.c: Ohhhhh, size_t doesn't handle -1 very well. DUH. [eb5d0946e8e3] 2010-06-17 * src/http11/http11_parser.c, src/http11/http11_parser.rl: Need some logging to find out why the parser is going crazy. [08dec98ba728] * src/http11/http11_parser.c, src/http11/http11_parser.rl: Need some logging to find out why the parser is going crazy. [52b1cef40370] * src/server.c: Buffer overflow in parser, need to get a handle on these magic numbers soon. [1b4a98a6c43d] * src/proxy.c, src/server.c: Classic error, ignoring error reported by fdwrite. [b35552147cc9] * src/proxy.c: More forgotten proxy files. [5a5f3998291e] * src/proxy.h: Forgot the proxy header file. [77e718280bc7] 2010-06-16 * Makefile, src/server.c, src/task/fd.c, tests/chat.py: Almost self hosting now with the proxy, still has a huge stalling bug in the proxy code on read. [748ce059a453] * Makefile, src/dbg.h, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/server.c: Converted to using best practice defensive programming and better error reporting. [41377e271ffe] * src/http11/http11_parser.c, src/http11/http11_parser.rl: Damn stupid parser not getting pe right. [0b4007c8e835] 2010-06-16 * src/server.c, src/task/fd.c, tests/chat.py: Changes from most recent test. [29dfdfc847eb] 2010-06-16 * src/http11/http11_parser.c, src/http11/http11_parser.rl, src/server.c: Catch overflow but not when there's an error. [e31bb0e858f9] 2010-06-16 * Makefile, src/task/fd.c, tests/chat.py: Fixes from the latest test, so far so good but one heisenbug. [9446d1619793] 2010-06-16 * src/server.c: Shouldn't close the message. [57f8e6f549cb] * src/server.c, tests/chat.py, tests/sender.py: Wrote a chat server using the current setup. Mostly works. [55b0ebd57b6c] 2010-06-15 * tests/sender.py: A simple python sender that you can use to test out the handler backend. [eb6bbac03dc7] * src/server.c, src/task/fd.c, src/task/task.h: First rough cut of the jssocket getting messages async to 0mq backends and back. [cd0c0913bf09] * Makefile, src/adt/dict.c, src/adt/dict.h, src/adt/hash.c, src/adt/hash.h, src/adt/list.c, src/adt/list.h, src/dict.c, src/dict.h, src/hash.c, src/hash.h, src/http11/http11_parser.c, src/http11/http11_parser.rl, src/list.c, src/list.h, src/server.c, src/task/fd.c: Rework of the server before doing the new arch. Had to move the kazlib stuff to adt. [4a9561d034a5] 2010-06-14 * Makefile, src/mqshell.c: Quick working mqshell for testing purposes. [f1193b973add] * src/config/config.sql, src/config/example.sql: A bit better, some comments. [d5715a934fc2] * src/config/config.sql, src/config/example.sql, src/config/mimetypes.sql: Got the first cut of the config data model working. [c302edcdfa23] 2010-06-13 * src/server.c: Don't send pings. [a1eefd42c831] 2010-06-12 * src/http11/http11_parser.rl, src/server.c: Fixes to the parsing to handle too much data. [5ea0d4d63dc7] * Makefile, src/server.c, src/task/fd.c: Fixes from the demo run last night to compile on linux. [95d25c3fc1dd] * Makefile, docs/Makefile, docs/kazlib.ist, docs/kazlib.ltx, src/adt/tst.c, src/adt/tst.h, src/b64/b64.c, src/b64/b64.h, src/b64/implicit_link.h, src/config/config.c, src/config/config.h, src/config/config.sql, src/config/db.c, src/dict.c, src/dict.h, src/except.c, src/except.h, src/hash.c, src/hash.h, src/http11/http11_parser.c, src/http11/http11_parser.h, src/http11/http11_parser.rl, src/http11/http11_parser_common.rl, src/list.c, src/list.h, src/manifest, src/manifest.uuid, src/mqshell.c, src/server.c, src/sfx.c, src/sfx.h, src/task/386-ucontext.h, src/task/COPYRIGHT, src/task/Makefile, src/task/README, src/task/amd64-ucontext.h, src/task/asm.S, src/task/context.c, src/task/fd.c, src/task/net.c, src/task/power- ucontext.h, src/task/print.c, src/task/qlock.c, src/task/rendez.c, src/task/task.c, src/task/task.h, src/task/taskimpl.h, tests/minunit.h: Initial commit, barely working but layout is sort of there. [6c814657a484] * adt/tst.c, adt/tst.h, b64/b64.c, b64/b64.h, b64/implicit_link.h, config/config.c, config/config.h, config/config.sql, config/db.c, dict.c, dict.h, except.c, except.h, hash.c, hash.h, http11/http11_parser.c, http11/http11_parser.h, http11/http11_parser.rl, http11/http11_parser_common.rl, list.c, list.h, mqshell.c, server.c, sfx.c, sfx.h, task/386-ucontext.h, task/COPYRIGHT, task/Makefile, task/README, task/amd64-ucontext.h, task/asm.S, task/context.c, task/fd.c, task/net.c, task/power- ucontext.h, task/print.c, task/qlock.c, task/rendez.c, task/task.c, task/task.h, task/taskimpl.h: initial empty check-in [1369ba3d9748] 2010-06-11 * adt/tst.c, adt/tst.h, b64/b64.c, b64/b64.h, b64/implicit_link.h, config/config.c, config/config.h, config/config.sql, config/db.c, dict.c, dict.h, except.c, except.h, hash.c, hash.h, http11/http11_parser.c, http11/http11_parser.h, http11/http11_parser.rl, http11/http11_parser_common.rl, list.c, list.h, mqshell.c, server.c, sfx.c, sfx.h, task/386-ucontext.h, task/COPYRIGHT, task/Makefile, task/README, task/amd64-ucontext.h, task/asm.S, task/context.c, task/fd.c, task/net.c, task/power- ucontext.h, task/print.c, task/qlock.c, task/rendez.c, task/task.c, task/task.h, task/taskimpl.h: Initial sorta working commit. [9923740e3acc] 2010-08-16 Michael Granger * hg-statall: Adding options, omit clean repos by default [317467db6bc7] 2010-08-09 Michael Granger * hg-statall: Adding colorization [39b15b408764] * .hgignore, hg-statall: Adding the ignorelist and hg-statall [a611ff172483]