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
Curt Micol
7c30c1e9ae
Fix crashing issue with signals TTIN and TTOU. Also clear out zombie procs left by those signals.
2010-01-10 07:08:05 -05:00
Benoit Chesneau
7cf859a5c0
self.alive is'nt anymore a file descriptor
2010-01-10 11:37:18 +01:00
Benoit Chesneau
004f441d59
revert a change. fix worker kill
2010-01-10 10:15:05 +01:00
Benoit Chesneau
0b8d51d116
update readme & usage
2009-12-27 15:02:07 +01:00
Benoit Chesneau
a925c045be
easy launch of django application.
2009-12-27 14:38:02 +01:00
Benoit Chesneau
4bf5cb7bf5
typo
2009-12-27 14:18:58 +01:00
Benoit Chesneau
6730cb2b03
quick usage help
2009-12-27 14:15:52 +01:00
Benoit Chesneau
6cda6a868e
fix http parser, support Accept: 100-continue, fixes in worker. Update
...
license headers
2009-12-27 12:23:55 +01:00
Benoit Chesneau
cb79c8514d
lot of fixes. nonblocking socket need to be handled correctly though.
2009-12-22 02:48:30 +01:00
Benoit Chesneau
7fccf32c06
better response
2009-12-21 21:58:38 +01:00
Benoit Chesneau
f1cb61564e
remove useless files and ignore them
2009-12-21 19:48:49 +01:00
Benoit Chesneau
045b3127cc
add setup file, fixx license
2009-12-21 19:47:07 +01:00
Benoit Chesneau
003c09ce1f
add missing element
2009-12-17 22:33:14 +01:00
Benoit Chesneau
8d53f458db
we don't need to handle errors here since they are already handled in
...
worker
2009-12-14 01:56:36 +01:00
Benoit Chesneau
753f3bcf1a
no buffer read. Instead of using socket fileobject , read it directly
...
using our own stream class
2009-12-14 01:50:23 +01:00
Paul J. Davis
89bae0daf2
More work on signals.
...
I removed some of the signals that are more advanced than I want to
write. After we get things working solid we'll need to go back and
revisit the hot code swapping, halting workers, and log handling.
There's still a weird racey lockup when hitting it with ab. I don't have
httperf installed on this machine so I can't try a different tool to see
if its just ab acting weird. I'm pretty sure I've seen ab do this before
so I'm not too concerned.
2009-12-06 01:47:57 -05:00
Paul J. Davis
d5956ed5f3
Fixing the select/accept loop.
2009-12-04 05:09:15 -05:00