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
|
00fa4313c8
|
since we are in a test just display stdout with paster so users can see
number of workers.
|
2010-01-26 02:34:27 +01:00 |
|
Benoit Chesneau
|
96a0a0c895
|
update test.ini
|
2010-01-26 02:12:29 +01:00 |
|
Benoit Chesneau
|
58c759b914
|
bump version to 0.2.1
|
2010-01-26 02:03:23 +01:00 |
|
Benoit Chesneau
|
c41b0c6903
|
detect if debug=true in ini
|
2010-01-25 17:12:36 +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
|
e70c2c350b
|
typo
|
2010-01-23 17:17:53 +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
|
ebc95efced
|
typo forget the ".ini" .
|
2010-01-23 16:51:08 +01:00 |
|
Benoit Chesneau
|
63d45ef181
|
gunicorn server factory for paster.
|
2010-01-23 16:46:49 +01:00 |
|
Benoit Chesneau
|
e699a50952
|
handle application errors
|
2010-01-23 15:04:52 +01:00 |
|
Benoit Chesneau
|
04bb2c3a51
|
fix readme
|
2010-01-23 14:37:19 +01:00 |
|
Benoit Chesneau
|
f1466ad78f
|
fix start_response to handle exc_info .
|
2010-01-23 14:26:25 +01:00 |
|
Benoit Chesneau
|
b0f1a0fe06
|
add django_paste command for paste-compatible projects.
|
2010-01-23 14:25:41 +01:00 |
|
Benoit Chesneau
|
73e8f4c103
|
fix setup
|
2010-01-22 00:57:13 +01:00 |
|
Paul J. Davis
|
2287f5b7b3
|
Adding tuning parameter info to the README.
|
2010-01-21 18:36:39 -05:00 |
|
Benoit Chesneau
|
6e459bcb56
|
after discussing of/commenting in github this with @davisp , changing
__exported_functionality__() in __all__ . Also support for it wass added
in pyflakes :
http://bazaar.launchpad.net/~vcs-imports/pyflakes/main/revision/35
|
2010-01-21 23:36:13 +01:00 |
|
Benoit Chesneau
|
cd238cdf72
|
add @ericflo. Thanks for the patch & pyflakes usage
|
2010-01-21 22:42:32 +01:00 |
|
Benoit Chesneau
|
99bb5b0de4
|
fix other issues spotted by pyflakes.
|
2010-01-21 22:40:53 +01:00 |
|
Eric Florenzano
|
036735b456
|
Used PyFlakes to detect and fix unneeded imports.
|
2010-01-21 13:23:35 -08:00 |
|
benoitc
|
9422ee545e
|
clean
|
2010-01-21 18:56:24 +01:00 |
|
Benoit Chesneau
|
a79f2e6156
|
display log when murdering the socket. While i'm here fix the issue we
had when a worker was respawned
|
2010-01-21 18:36:13 +01:00 |
|
Benoit Chesneau
|
834c080b7a
|
we want to retry on first EPIPE on write
|
2010-01-21 15:18:18 +01:00 |
|
Benoit Chesneau
|
7d83418b60
|
don't need this comment
|
2010-01-21 14:25:45 +01:00 |
|
Benoit Chesneau
|
615c6a6927
|
speed gunicorn. Don't try to display requests log in info mode.
|
2010-01-21 14:15:21 +01:00 |
|
Benoit Chesneau
|
de3792b011
|
oups we should really close on exec the client
|
2010-01-21 13:35:54 +01:00 |
|
Benoit Chesneau
|
354a91ad35
|
move close_on_exec in util
|
2010-01-21 12:56:16 +01:00 |
|
Benoit Chesneau
|
2f959f9251
|
typo
|
2010-01-21 01:20:09 +01:00 |
|
Benoit Chesneau
|
ec644bdf90
|
rename http_parser.py to parser.py we are already in http module
|
2010-01-21 01:13:12 +01:00 |
|
Benoit Chesneau
|
2393e21ddc
|
useless debug info
|
2010-01-21 01:01:34 +01:00 |
|
Benoit Chesneau
|
6da023a7da
|
clean a litle the rep
|
2010-01-21 00:51:48 +01:00 |
|
Benoit Chesneau
|
b568852465
|
add request unitests. fix TeeInput & parser
|
2010-01-21 00:18:42 +01:00 |
|
Benoit Chesneau
|
ba6db08825
|
add license headers to tests
|
2010-01-20 22:01:45 +01:00 |
|
benoitc
|
b68700c010
|
include loggin facility in objects. Fix an error on openbsd. While i'm
here bump gunicorn version.
|
2010-01-20 21:57:39 +01:00 |
|
Benoit Chesneau
|
db01c210a2
|
Set blocking to 0 back since we prevented inheritence of the socket the socket.
|
2010-01-20 18:06:35 +01:00 |
|
Benoit Chesneau
|
bfeb4f9416
|
fix chunked encoding and add tests
|
2010-01-20 16:21:20 +01:00 |
|
Benoit Chesneau
|
d4ae13cde0
|
forgot to commit tests
|
2010-01-20 15:21:57 +01:00 |
|
Benoit Chesneau
|
12612e1f34
|
ignore nohup.out
|
2010-01-20 14:12:48 +01:00 |
|
Benoit Chesneau
|
6eecc37fce
|
add http parsers unittests and fix it while i'm here
|
2010-01-20 14:10:38 +01:00 |
|