99 Commits

Author SHA1 Message Date
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
Benoit Chesneau
a5379e67fa 80 column 2010-01-18 04:20:49 +01:00
Benoit Chesneau
4bfdd60501 remove relative imports. new close function 2010-01-18 04:18:25 +01:00
Benoit Chesneau
4e6f60f4d8 dup the socket in TeeInput object 2010-01-18 00:39:45 +01:00
Benoit Chesneau
7592d25331 merged davisp logging branch (from asenchi patch) + fix to
gunicorn_django
2010-01-18 00:35:47 +01:00
Benoit Chesneau
5c7447ee31 Merge remote branch 'davisp/logging' into logging 2010-01-18 00:32:26 +01:00
Benoit Chesneau
fcbaae054a new http parser. need to add TE support yet 2010-01-18 00:19:57 +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
09bcc05c5c addd errno.EWOULDBLOCK for accept 2010-01-17 03:39:07 +01:00
Benoit Chesneau
ce51439299 HTTP/1.0 2010-01-17 03:34:52 +01:00
Benoit Chesneau
b0271b6625 save for backup. introduce read_partial. 2010-01-17 03:30:57 +01:00
Benoit Chesneau
ecd684eaed fix workers relaunch 2010-01-16 05:12:00 +01:00