110 Commits

Author SHA1 Message Date
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
Benoit Chesneau
c613b826c8 fix race condition. let write die if we get EPIPE more than one time in
the loop
2010-01-19 20:08:01 +01:00
Benoit Chesneau
73431574a5 add THANKS file 2010-01-19 07:26:17 +01:00
Benoit Chesneau
eeee716b39 don't dup the socket and just use another variable to test if we should
fetch from the socket or not
2010-01-19 01:23:30 +01:00
Benoit Chesneau
46086720f5 we don't want to block accepted socket. Fix a bug I got with
friendpaste. also make worker select timeout related to arbiter.
2010-01-19 00:50:07 +01:00
Benoit Chesneau
43b9209144 try to send something if an error happend 2010-01-19 00:19:38 +01:00
Benoit Chesneau
d37a9d81dc edit header to tell the license. 2010-01-19 00:09:09 +01:00
Benoit Chesneau
bcfeed0d5f change code header to redirect to NOTICE file for more info. 2010-01-18 23:53:23 +01:00
Benoit Chesneau
bda2708def modify the way we handle murdered workers. 2010-01-18 23:21:45 +01:00
benoitc
522933416c write should return length of data 2010-01-18 17:59:26 +01:00
benoitc
6714b30ddc fix write() 2010-01-18 17:58:00 +01:00
Benoit Chesneau
b6e52bef8a oups forget to reverse a little change 2010-01-18 17:26:28 +01:00
benoitc
f583b618df fix parser + write function 2010-01-18 17:23:26 +01:00
Benoit Chesneau
ccd24a15ae handle TE: chunked . 2010-01-18 14:58:36 +01:00
benoitc
6f5b16ab91 patch from @asenchi fixing broken pipes. thanks! 2010-01-18 13:36:42 +01:00