Benoit Chesneau
|
bfbac6fa4c
|
fix gunicorn_paster
|
2010-02-03 19:41:14 +01:00 |
|
Benoit Chesneau
|
2d10aa1f83
|
var changed
|
2010-02-03 17:48:13 +01:00 |
|
Benoit Chesneau
|
9928aca73f
|
fix indent
|
2010-02-03 17:09:35 +01:00 |
|
Benoit Chesneau
|
fba0342536
|
we don't want that.
|
2010-02-03 16:38:18 +01:00 |
|
Benoit Chesneau
|
859e74be40
|
display an error when we can't connect and exit
|
2010-02-03 16:37:23 +01:00 |
|
Benoit Chesneau
|
31ebc40258
|
reap workers here.
|
2010-02-03 16:27:21 +01:00 |
|
Benoit Chesneau
|
43f4dd4109
|
fix
|
2010-02-03 16:17:17 +01:00 |
|
Benoit Chesneau
|
b681b11ed4
|
typo sigh. no cookie for me
|
2010-02-03 16:15:13 +01:00 |
|
Benoit Chesneau
|
b3496bcbd8
|
None != False
|
2010-02-03 16:13:35 +01:00 |
|
Benoit Chesneau
|
5796651a78
|
fix client_addr following observation of @dacisp and reading
http://en.wikipedia.org/wiki/X-Forwarded-For .
|
2010-02-03 16:09:31 +01:00 |
|
Benoit Chesneau
|
c3801b5283
|
some changes after review of @davisp
|
2010-02-03 15:54:14 +01:00 |
|
Benoit Chesneau
|
fd4e13511d
|
reùove empty lines
|
2010-02-03 15:07:57 +01:00 |
|
Benoit Chesneau
|
92a0a2582d
|
bump version number and add it to usage
|
2010-02-03 15:02:05 +01:00 |
|
Benoit Chesneau
|
c6c704346a
|
better help line
|
2010-02-03 14:49:42 +01:00 |
|
Benoit Chesneau
|
b7903be3f3
|
handle server_address and client_address in all connections types.
|
2010-02-03 14:38:55 +01:00 |
|
Benoit Chesneau
|
0935ab3344
|
branch to handle unix sockets
|
2010-02-03 13:35:32 +01:00 |
|
Benoit Chesneau
|
e804f97f5e
|
we don't need this one.
|
2010-02-03 12:07:30 +01:00 |
|
Benoit Chesneau
|
957496304c
|
fix #8.
|
2010-02-03 12:01:45 +01:00 |
|
Benoit Chesneau
|
f3822a7f2f
|
typo
|
2010-02-03 10:50:40 +01:00 |
|
Benoit Chesneau
|
c7bbe77a72
|
timeout should be a float. while i'm here be brutal like a ctrl-c.
|
2010-02-03 10:43:32 +01:00 |
|
Benoit Chesneau
|
a57e2ec7e6
|
timeout could be None.
|
2010-02-03 10:41:30 +01:00 |
|
Benoit Chesneau
|
6c405b9d14
|
fix issue #7. thanks!
|
2010-02-03 10:32:28 +01:00 |
|
Benoit Chesneau
|
614a5d25c1
|
replace /bin/* py setup entry-points
|
2010-02-02 18:23:37 +01:00 |
|
Benoit Chesneau
|
ea9ccf0da1
|
create temporary file in target dir
|
2010-02-01 22:21:11 +01:00 |
|
Benoit Chesneau
|
6ecbd9bff8
|
qfix
|
2010-02-01 19:53:34 +01:00 |
|
Benoit Chesneau
|
31c911f6cc
|
fix license headers and bump release number to 0.3
|
2010-02-01 19:40:59 +01:00 |
|
Benoit Chesneau
|
f23c24f92f
|
add time to logs
|
2010-02-01 19:13:09 +01:00 |
|
Paul J. Davis
|
84d4510847
|
Fix USR1 handling in workers.
|
2010-01-31 18:21:47 -05:00 |
|
Paul J. Davis
|
9dde33c15c
|
Needed to s/break/continue/ with new loop.
|
2010-01-31 17:55:21 -05:00 |
|
Paul J. Davis
|
9e717b8f9c
|
Refactoring the worker loop.
Accidentally got a bit carried away.
|
2010-01-31 17:45:26 -05:00 |
|
Benoit Chesneau
|
6afaf608e3
|
add daaemon option
|
2010-01-31 02:34:16 +01:00 |
|
Benoit Chesneau
|
85e5b78ec5
|
Merge remote branch 'ericflo/master' into djangocommand
|
2010-01-31 02:10:55 +01:00 |
|
Benoit Chesneau
|
2346866ea5
|
useless debug
|
2010-01-31 02:09:51 +01:00 |
|
Eric Florenzano
|
91d6ee398f
|
Add a run_gunicorn management command for use with Django. To use, simply add 'gunicorn' to your INSTALLED_APPS and run_gunicorn will be available in manage.py.
|
2010-01-30 16:51:57 -08:00 |
|
Benoit Chesneau
|
4be8e9f0ee
|
some fixes. Now we have daemonized mode and pidfile.
|
2010-01-30 02:28:49 +01:00 |
|
Benoit Chesneau
|
ced1f39020
|
some fixes. still dont handle SIGQUIT on workers :/
|
2010-01-30 00:56:09 +01:00 |
|
Benoit Chesneau
|
6d4ef85e39
|
inherit PIPE and fix bug in reap_workers
|
2010-01-29 22:55:01 +01:00 |
|
Benoit Chesneau
|
6dff13c309
|
only one should be imported.
|
2010-01-29 21:35:36 +01:00 |
|
Benoit Chesneau
|
6f4db28710
|
make daemonizing better
|
2010-01-29 21:32:16 +01:00 |
|
Benoit Chesneau
|
82ed62d35d
|
fork twice as usual per request of davisp
|
2010-01-29 21:11:41 +01:00 |
|
Benoit Chesneau
|
80b4534922
|
first step for self daemonized. Still need to fix workers kill
|
2010-01-29 21:05:28 +01:00 |
|
Benoit Chesneau
|
d5880e2bcf
|
add pidfile support. gunicorn --pid=/tmp/gunicorn.pid or paster server
prod.ini pid=/tmp/gunicorn.pid
|
2010-01-29 19:04:43 +01:00 |
|
Benoit Chesneau
|
ddb48593f3
|
try to send a response even if something happend
|
2010-01-29 16:20:26 +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
|
96a0a0c895
|
update test.ini
|
2010-01-26 02:12:29 +01:00 |
|
Benoit Chesneau
|
e830a8f54d
|
add debug option and support in paster. It allows us to work with paster
in debug mode and some other app that eval results. In debug mode only
one worker could be launch and wsgi.multiprocess is set to False.
|
2010-01-23 18:26:07 +01:00 |
|
Benoit Chesneau
|
3609b65385
|
add irc channel to the readme.
|
2010-01-23 17:16:36 +01:00 |
|
Benoit Chesneau
|
1a3c09b1a8
|
80 cols.
|
2010-01-23 16:53:56 +01:00 |
|
Benoit Chesneau
|
63d45ef181
|
gunicorn server factory for paster.
|
2010-01-23 16:46:49 +01:00 |
|