85 Commits

Author SHA1 Message Date
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
Benoit Chesneau
9900371813 some fixes 2010-01-16 03:20:11 +01:00
Benoit Chesneau
5324d3cb60 more fixes 2010-01-15 23:19:16 +01:00
Benoit Chesneau
fe5f44d0b7 fix lot of typos/bug 2010-01-15 22:51:23 +01:00
Benoit Chesneau
73763d66bf obvious fix 2010-01-15 22:22:17 +01:00
Benoit Chesneau
e1448722b4 start to rework http parser. nothing works actually. 2010-01-15 22:18:29 +01:00
Benoit Chesneau
ec301fd43d make gunicorn compatible with py24 and py25 2010-01-11 02:56:12 +01:00
Benoit Chesneau
3bc53767bd fix manifest to reflect change in README name 2010-01-11 00:55:02 +01:00
Benoit Chesneau
4f5548e8bd handle all signals like unicorn or nginx :
http://unicorn.bogomips.org/SIGNALS.html

TODO: implementing daemonized mode & config file
2010-01-11 00:38:25 +01:00
Benoit Chesneau
786c97442d useless info 2010-01-10 20:27:37 +01:00
Benoit Chesneau
0d04e7bf7f Merge remote branch 'davisp/master' 2010-01-10 19:54:22 +01:00
Benoit Chesneau
a98d9d9e3e handle HUP. There are still dead processes after HUP that need to be
removed.
2010-01-10 19:53:34 +01:00
Paul J. Davis
951cb590ab Fix the README to use better reST formatting.
This helps displaying on github by renaming .txt -> .rst as well as on
PyPi.
2010-01-10 11:50:37 -05:00
Benoit Chesneau
fb61e9b6ba fix issue #3. Waiting proper handling of HUP, quit gunicorn. 2010-01-10 15:55:21 +01:00
Benoit Chesneau
ac8abbe448 trap SIGCHLD and wake up master. fix issue 3. HUP isn't correctly
handled yet on master.
2010-01-10 15:13:42 +01:00