396 Commits

Author SHA1 Message Date
benoitc
23927f39b1 allows custom arbiter 2010-03-16 22:12:26 +01:00
Paul J. Davis
8b9cb09b6b Be explicit about blocking status.
Apparently the assumption that sockets don't inherit their blocking
status from the server socket is invalid. Or python sets the flags
to match. Either way, we need clients to use blocking sockets so
we're now explicitly setting the blocking status.
2010-03-16 11:46:01 -04:00
Paul J. Davis
61a84eece3 Be more considerate to future me.
Sergey points out that its more proper to |= with the current value of
the fd flags. I concur.
2010-03-15 22:59:26 -04:00
Paul J. Davis
09b5dd2ad1 Fix close_on_exec bug.
Reported by Sergey Shepelev. I changed his patch slightly because of the
man page language. As I read things, the close on exec flag is separate
from the F_SETFL flags.
2010-03-15 22:12:54 -04:00
benoitc
562c9a2d70 revert previous change 2010-03-13 23:25:29 +01:00
benoitc
d21254edfc update readme 2010-03-13 23:21:42 +01:00
benoitc
33cf5dab01 with statement for py25 + bump release number 2010-03-13 22:16:58 +01:00
benoitc
6709a2c781 fix message 2010-03-12 23:59:25 +01:00
benoitc
f53532a92e always use TeeInput 2010-03-12 14:15:21 +01:00
benoitc
1ee01152b3 fix chuynked response 2010-03-12 00:52:21 +01:00
benoitc
5bb0734532 put creation of worker in its own class so we can pass custom workers to
it.
2010-03-11 14:29:20 +01:00
benoitc
f75a413773 some fixes to config and pidfile 2010-03-11 13:53:10 +01:00
benoitc
7280ad20f8 seem like the arbiter was reverted in my previous commit . commit it
again
2010-03-11 13:45:45 +01:00
benoitc
275031f66a ease integration with grainbows, put accept connection in its own
method.
2010-03-11 13:27:03 +01:00
benoitc
f2adef3d35 refactor pidfile 2010-03-11 13:19:19 +01:00
benoitc
7c678d7ace Merge branch 'master' of github.com:benoitc/gunicorn 2010-03-11 13:14:59 +01:00
benoitc
398479fb33 refactor pidfile 2010-03-11 13:14:30 +01:00
benoitc
5f59192193 allow custom default config file name for use with grainbows. 2010-03-11 12:01:47 +01:00
benoitc
0687c9460b point setup.py to main website 2010-03-11 08:33:00 +01:00
benoitc
838e072cba up 2010-03-11 08:28:02 +01:00
benoitc
e425fb5935 bump release 2010-03-11 08:26:41 +01:00
Paul J. Davis
4496eec8a0 Wrong exception class name. 2010-03-10 18:53:18 -05:00
benoitc
badad6d33d Merge branch 'master' of github.com:benoitc/gunicorn
Conflicts:
	doc/htdocs/news.html
2010-03-10 21:05:15 +01:00
benoitc
85ec7b3ebc fix pid 2010-03-10 21:04:26 +01:00
Paul J. Davis
fdd02f8f6c Minor grammar fixes. 2010-03-08 20:38:39 -05:00
Paul J. Davis
26df9d5bfa Adding FAQ entries for fast clients. 2010-03-08 20:09:20 -05:00
benoitc
a10ca702e9 typo 2010-03-08 23:24:21 +01:00
benoitc
d3c26c8aa6 update doc 2010-03-08 23:23:19 +01:00
benoitc
5f5b67da96 fix possible race condition when socket.error isn't raised but remote
connection was closed.
2010-03-08 16:57:32 +01:00
benoitc
4873b41b33 use cstringio 2010-03-08 12:14:47 +01:00
benoitc
985c0857ab bump 2010-03-07 00:40:50 +01:00
benoitc
1716877232 do it quietly 2010-03-07 00:01:33 +01:00
benoitc
6ac5faf763 fix chunked response 2010-03-06 23:40:59 +01:00
benoitc
19bf5e5d1b just reinit 2010-03-06 23:06:18 +01:00
benoitc
9651a809e3 no it's now part from gunicorn release too. 2010-03-06 20:58:09 +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
54d1a8a5dc fix iter 2010-03-05 18:20:58 +01:00
benoitc
83804e2421 follow spec 2010-03-05 01:11:00 +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
d26073cc78 worker may have already be removed here. 2010-03-04 19:43:17 +01:00
benoitc
4a56af4a2b typo. 2010-03-04 19:29:22 +01:00
benoitc
8622604f44 remove race condition 2010-03-04 19:23:37 +01:00
benoitc
6ca87c5cf4 right length 2010-03-04 18:58:27 +01:00
benoitc
77ea9ea78a recv_info seems slower that just concatening string. let's create a
branch to test it.
2010-03-04 18:48:39 +01:00
benoitc
a0d8a16b86 improve read_partial 2010-03-04 18:07:45 +01:00
benoitc
176ad162b1 fix header parsing. spotted by MattCampbell on irc. thx 2010-03-03 16:23:32 +01:00
benoitc
7f0b689851 fix 100-Continue. spotted by MattCampbell on irc. 2010-03-03 16:13:41 +01:00
benoitc
68d1542c20 timeout and backlog can now be configured in config file. we should put
more options. Also the default of backlog could be 1024 instead of 2048.
2010-03-03 16:03:23 +01:00
jbergstroem
e5e6b70895 Fix failed tests due to lack of passing config to a Request 2010-03-03 15:44:54 +08:00
benoitc
0774607fab flush on first write 2010-03-02 23:49:41 +01:00