benoitc
|
514a0ba0e3
|
change the way we handle last chunk, on't break but instead test if last
was an empty string. So we allows idiot content to send empty string at
first.
|
2010-03-19 10:00:15 +01:00 |
|
benoitc
|
0781caadab
|
merge grainbows & gunicorn
|
2010-03-17 00:18:16 +01:00 |
|
benoitc
|
1ee01152b3
|
fix chuynked response
|
2010-03-12 00:52:21 +01:00 |
|
benoitc
|
6ac5faf763
|
fix chunked response
|
2010-03-06 23:40:59 +01:00 |
|
benoitc
|
c785be0780
|
new parser using StringIO, faster than concatenate strings. Lot of fixes
in TeeInput.
|
2010-03-06 20:47:39 +01:00 |
|
benoitc
|
c67800e1c7
|
I don't see any good reason to keep Status here. Also since we are
HTTP/1.1 make sure to use correct status line
|
2010-03-04 19:46:38 +01:00 |
|
benoitc
|
c2f12a4977
|
should fix _ensure_length in tee. while I'm here fix chunked response.
|
2010-02-28 22:46:35 +01:00 |
|
benoitc
|
6df6e89cbc
|
allow gunicorn to send chunked response (if Transfer-Encoding ==
chunked)
|
2010-02-26 14:05:35 +01:00 |
|
Benoit Chesneau
|
61840c3707
|
response headers should be a tupple.
|
2010-02-10 16:07:05 +01:00 |
|
Paul J. Davis
|
9e717b8f9c
|
Refactoring the worker loop.
Accidentally got a bit carried away.
|
2010-01-31 17:45:26 -05:00 |
|
Benoit Chesneau
|
e699a50952
|
handle application errors
|
2010-01-23 15:04:52 +01:00 |
|
Eric Florenzano
|
036735b456
|
Used PyFlakes to detect and fix unneeded imports.
|
2010-01-21 13:23:35 -08: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
|
b568852465
|
add request unitests. fix TeeInput & parser
|
2010-01-21 00:18:42 +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
|
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
|
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 |
|
benoitc
|
f583b618df
|
fix parser + write function
|
2010-01-18 17:23:26 +01:00 |
|
Benoit Chesneau
|
4bfdd60501
|
remove relative imports. new close function
|
2010-01-18 04:18:25 +01:00 |
|
Benoit Chesneau
|
fcbaae054a
|
new http parser. need to add TE support yet
|
2010-01-18 00:19:57 +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
|
e1448722b4
|
start to rework http parser. nothing works actually.
|
2010-01-15 22:18:29 +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
|
045b3127cc
|
add setup file, fixx license
|
2009-12-21 19:47:07 +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
|
5c5dbbd603
|
Readded Benoit's HTTP code.
ab works again. As does curl it appears.
|
2009-12-03 02:14:49 -05:00 |
|