405 Commits

Author SHA1 Message Date
Paul J. Davis
ab25537b67 Fix assumption that tornado.web was imported. 2010-04-26 11:52:10 -04:00
benoitc
0c26280486 response has no socket object but request has. bug detected while
running longpoll test.
2010-04-22 22:02:44 +02:00
benoitc
40e5751fb7 s/workerclass/worker_class & fix gunicorn django 2010-04-22 21:56:37 +02:00
benoitc
9409839668 fix paster usage 2010-04-22 21:45:39 +02:00
benoitc
73ed5f87b7 bump version 2010-04-22 21:06:35 +02:00
benoitc
5b2f98fca4 fix erros spotted by pyflakes 2010-04-22 19:41:29 +02:00
benoitc
be6035769c update doc 2010-04-22 19:20:33 +02:00
benoitc
090bb8fe29 add timeout support 2010-04-22 19:07:23 +02:00
benoitc
80e0acf9db patch RequestHandler so people know that they use tornado with gunicorn. 2010-04-22 18:45:22 +02:00
benoitc
e9eed6b6e9 fix import in tornado worker 2010-04-22 17:39:49 +02:00
benoitc
8184eb493c add refactor gevent support like we did on eventlet. In the future it
may be better to use Event object. While i'm here move the monkey
patching in its own function used on config so we make sure to patch
only one time and prevent some ugly hack like reinit gevent each time we
spawn (it's better to use patched os.fork from gevent once time).
2010-04-22 14:38:49 +02:00
benoitc
7f36bc1bbd ignore connection reset 2010-04-22 11:54:34 +02:00
benoitc
0a3438f963 bump version so I'm sure I use the right terminal. 2010-04-16 21:08:53 +02:00
benoitc
138605dc43 missing headers 2010-04-16 21:08:11 +02:00
Paul J. Davis
d14389cb68 Added support for Tornado.
Took less than a beer.
2010-04-15 21:20:52 -04:00
Paul J. Davis
0c935d06c7 Got the Sync and Eventlet workers running. 2010-04-15 21:20:17 -04:00
Paul J. Davis
4fe8608196 Slight touches to the Config class. 2010-04-15 21:18:09 -04:00
Paul J. Davis
51f1f22665 Refactoring worker code.
Also went through gunicorn.main lightly.
2010-04-15 20:08:28 -04:00
benoitc
2cfca856bc bump version and update news & doc. 2010-04-15 03:22:23 +02:00
benoitc
cd5894f59c fix bug spotted by @daks with mercurial. Also fix concurrency on async. 2010-04-15 02:05:39 +02:00
benoitc
3a2e3edb3e add possibility to trace all events of gunicorn. Run gunicorn --spew . 2010-04-14 19:49:26 +02:00
benoitc
2e40f48d05 don't patch dns for now until it's fixed upstream. Create strange
behaviour with httplib and urllib2. spotted by @greut on irc, thanks!
2010-04-14 11:27:55 +02:00
Paul J. Davis
af4ee69eae Make worker timeouts more noticeable in the log. 2010-04-13 14:58:58 -04:00
benoitc
dd7e8f08f8 patch thread in eventlet so we make sure to use corolocal for
threadlocals
2010-04-12 00:53:03 +02:00
benoitc
2e1718b188 use globals in config 2010-04-11 17:53:38 +02:00
benoitc
7f97653bd4 fix issue #36. Thanks. 2010-04-03 18:05:26 +02:00
benoitc
85afc6bdae bump revision number 2010-04-02 02:11:12 +02:00
benoitc
891d751af2 use same close func in async 2010-04-02 02:09:37 +02:00
Paul J. Davis
ff47d22488 Fix bug when responses have no body.
Thanks to Chris Dent for noticing this.
2010-04-01 16:28:09 -04:00
benoitc
53e756ec9f we want to raise here on socket.error, so we can handle error later 2010-03-26 21:09:22 +01:00
benoitc
4f54c06121 make specific case for websockets 2010-03-26 15:53:53 +01:00
benoitc
7d24a7597d update doc 2010-03-26 12:10:14 +01:00
benoitc
6863bba84b Ignore SIGWINCH in worker. Fix crash on OpenBSD 2010-03-26 11:08:24 +01:00
benoitc
c1aec22097 fix response 2010-03-23 21:09:15 +01:00
benoitc
d192b1e653 no need to close the socket here 2010-03-23 21:02:24 +01:00
Paul Davis
1d326f88c4 Fixed async responses. 2010-03-23 15:54:22 -04:00
Paul Davis
e4b7263314 Fix async req/resp handlers. 2010-03-23 15:40:14 -04:00
Paul J. Davis
2242be27cf Silly typo prevented response header parsing. 2010-03-23 15:10:52 -04:00
Paul J. Davis
014d711bd7 Fix PEP 333 compliance for the write callable. 2010-03-23 14:58:10 -04:00
benoitc
9f572bc8ea add headers_sent guard. 2010-03-21 10:30:57 +01:00
benoitc
125392d054 next version will be 0.7.0 2010-03-20 15:11:39 +01:00
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
771d44902a use formatted title so we make sure all browsers will correctly read
them
2010-03-18 08:58:05 +01:00
benoitc
6845d10460 fix worker. status is a response thing. instead test if we got a status
line or if environ isn't empty.
2010-03-17 23:06:45 +01:00
benoitc
d63b6015ef useless line, and handle only ValueError 2010-03-17 01:10:10 +01:00
benoitc
49e57d36bb remove useless examples 2010-03-17 01:06:17 +01:00
benoitc
40f1c43ccf iadd --arbiter option to django run command 2010-03-17 00:53:57 +01:00
benoitc
8dbc10be8c only patch select and socket with eventlet 2010-03-17 00:37:19 +01:00
benoitc
451647d5ad remove arbiter import from main 2010-03-17 00:32:02 +01:00
benoitc
0781caadab merge grainbows & gunicorn 2010-03-17 00:18:16 +01:00