12 Commits

Author SHA1 Message Date
Benoit Chesneau
2346866ea5 useless debug 2010-01-31 02:09:51 +01:00
Benoit Chesneau
57054f1a4c don't set default values for command line options so we can use paster
one and later our own conf. While I'm here display the address on which
we start to listen so we can get the port when using port=0.
2010-01-27 16:08:08 +01:00
Benoit Chesneau
23af620000 I thought global_conf would be enough to get all info from paster.
Obviously I was wrong, we also need to use local_conf. Spotted by @gawel
on irc.
2010-01-27 15:42:52 +01:00
Benoit Chesneau
c41b0c6903 detect if debug=true in ini 2010-01-25 17:12:36 +01:00
Benoit Chesneau
b0f1a0fe06 add django_paste command for paste-compatible projects. 2010-01-23 14:25:41 +01:00
Benoit Chesneau
7592d25331 merged davisp logging branch (from asenchi patch) + fix to
gunicorn_django
2010-01-18 00:35:47 +01:00
Paul J. Davis
aa30df9e26 Add logging level command line options.
Refactored the scripts to be more DRY as well. gunicorn_django needs
testing as I don't have a django environ handy to test with.
2010-01-17 12:33:45 -05:00
Benoit Chesneau
0b8d51d116 update readme & usage 2009-12-27 15:02:07 +01:00
Benoit Chesneau
a925c045be easy launch of django application. 2009-12-27 14:38:02 +01:00
Benoit Chesneau
6cda6a868e fix http parser, support Accept: 100-continue, fixes in worker. Update
license headers
2009-12-27 12:23:55 +01:00
Benoit Chesneau
045b3127cc add setup file, fixx license 2009-12-21 19:47:07 +01:00
Paul J. Davis
8be0226763 Some refactoring work.
Remoed alot of code before starting to add more. Trimmed as much as
possible to get to the point that I understood what was going on in each
place.

Split the server code into multiple objects to help my sanity. Arbiter
is now the main class in the master process that keeps track of child
processes and so on and such forth.

The Worker class is responsible for handling incoming requests from the
server socket passed to its constructor.
2009-12-03 01:13:38 -05:00