Steven Cummings
cc193ff266
Don't stringify T and D logging atoms ( Fixes #621 )
2013-11-06 07:36:16 +01:00
benoitc
f47262c5ae
Merge branch 'fix/478' into develop
2013-11-06 07:03:08 +01:00
benoitc
dda514b42b
add @georgexsh to THANKS
2013-11-05 08:40:05 +01:00
Xie Shi
8270d43cc3
small tweak of 53c4484
...
since timeout patch affect only select call,
it is better to not change self.timeout.
2013-11-05 08:39:17 +01:00
benoitc
4ae65eeabf
fix support for current but old stable gevent release
2013-11-05 08:07:57 +01:00
benoitc
411ec544dc
documment the code for the systemd support
2013-11-05 07:34:50 +01:00
benoitc
888115fafd
sync thanks
2013-11-05 07:24:59 +01:00
keakon
e19af09d09
graceful stop for TornadoWorker
2013-11-05 07:16:59 +01:00
Dan Sully
e9416b1177
Include subprocess in the gevent monkey patching to ensure consistent behavior between gevent 1.0b3 and 1.0rc3
2013-11-04 15:18:34 +01:00
benoitc
308081948f
fix eventlet worker
...
make sure we patch the listening socket in the worker
2013-11-04 14:46:31 +01:00
benoitc
9a83d719b2
fix gevent worker
2013-11-04 14:43:40 +01:00
benoitc
f2920bfcda
monkey patch in the worker
...
this change move the monkey patching from the aribiter to the worker so we make sure the supervision won't be altered.
fix #478
2013-11-04 14:26:05 +01:00
benoitc
f43d299503
bump django version to 1.5
2013-11-04 13:36:21 +01:00
benoitc
330bd44b7b
deprecate run_gunicorn
...
fix #525
2013-11-04 13:33:25 +01:00
Benoit Chesneau
00dd0108a8
Merge pull request #629 from kracekumar/patch-1
...
Sys imported twice.
2013-10-15 05:08:29 -07:00
kracekumar
c6d650ebd2
Sys imported twice.
2013-10-14 00:43:02 +05:30
Benoit Chesneau
d673ffa9bc
Merge pull request #626 from wong2/tweak
...
Small tweaks of wsgiapp.py
2013-10-09 08:55:22 -07:00
Benoit Chesneau
0ef6b4e332
Merge pull request #623 from simlun/patch-1
...
Fix typo in comment
2013-10-09 08:54:53 -07:00
wong2
bbd8b16b6f
fix a typo
2013-10-09 16:43:49 +08:00
wong2
8a94f901bc
remove unused import
2013-10-09 16:43:34 +08:00
Simon Lundmark
b62c1839e3
Fix typo in comment
2013-10-05 17:06:25 +02:00
benoitc
feb86d3fb2
don't display the traceback in the HTTP response
2013-09-27 09:09:15 +02:00
benoitc
5ff75b194c
regenerate settings
2013-09-26 22:50:16 +02:00
Randall Leeds
840f23ee80
Merge pull request #612 from Locker537/typo_fix
...
Fix a single typo.
2013-09-18 14:48:40 -07:00
Stephen DiCato
79ed7851ae
Fix a single typo.
2013-09-13 15:08:21 -04:00
benoitc
4e67942ae4
add Stephane Wirtel to THANKS
2013-08-31 10:43:55 +02:00
benoitc
e927972848
add Alex Gaynor to THANKS
2013-08-31 10:43:04 +02:00
Benoit Chesneau
36e5ae05bb
Merge pull request #603 from alex/compile-re-once
...
Only compiled some regexes used in HTTP parsing once
2013-08-31 01:40:27 -07:00
Alex Gaynor
b5c1810722
Only compiled some regexes used in HTTP parsing once
...
Currently they are parsed and compiled once per-HTTP request, which is
unnescary computation and makes stuff slower than it could be.
2013-08-28 20:23:53 -07:00
benoitc
24fe380982
typos
2013-08-28 00:40:48 +02:00
benoitc
d3b1687e03
update the changes
2013-08-28 00:31:27 +02:00
benoitc
644ae4d4f2
Revert "oups this the 17.6 version"
...
This reverts commit bb71bc841f7422333324b95c988ba0677779304d.
2013-08-28 00:14:58 +02:00
benoitc
bb71bc841f
oups this the 17.6 version
2013-08-28 00:11:51 +02:00
benoitc
e32f08cd4a
bump to 18.0
2013-08-27 23:55:39 +02:00
benoitc
7e40442978
simplify the eventlet worker.
...
sockets are a;lready greened. make sure we also switch to the acceptor quickly.
2013-08-27 23:49:18 +02:00
benoitc
4a2eaf202c
fix wsgiapp loading
2013-08-27 23:25:16 +02:00
benoitc
b6af364c79
add the --paste option and deprecate gunicorn_paster
...
Instead of having multiple command line just use the gunicorn one.
gunicorn_django is deprecated as well.
2013-08-27 23:16:35 +02:00
benoitc
f886d86b46
deprecate gunicorn_django
2013-08-27 21:17:33 +02:00
benoitc
bdec5975ef
remove any notion of gunicorn in main WSGIApplication
...
if someone want to use a django application and load a specific module it is
better to use the --env option.
2013-08-27 20:38:49 +02:00
benoitc
1eceed0ad5
monleypatch sendfile for the eventlet worker
...
makesure sendfile isn't blocking on eventlet
2013-08-27 18:32:33 +02:00
benoitc
25094605cf
monkeypatch wsgi.sendfile for gevent
...
make sendfile usage non blocking with gevent
2013-08-27 18:18:35 +02:00
benoitc
4e3702c3ca
fix tests
2013-08-27 17:14:12 +02:00
benoitc
82256a93a5
add --chdir option
...
chdir to specified directory before apps loading.
Ex:
$ gunicorn --chdir ./examples test:app
fix #384
2013-08-27 16:52:49 +02:00
benoitc
3452379108
remove useless lines in example
2013-08-27 15:32:01 +02:00
benoitc
3d0b0fe012
value can be None
2013-08-27 15:31:06 +02:00
benoitc
4e3428af0e
add -e/--env command line argunment
...
This command line argunment allows someone to pass an environement variable to
gunicorn:
$ gunicorn --env FOO=1 test:app
With the command line above the application will be able to use the FOO
environment vatriable.
2013-08-27 13:21:53 +02:00
Benoit Chesneau
054f1135db
Merge pull request #600 from matrixise/master
...
Close all the listener sockets
2013-08-27 02:51:29 -07:00
benoitc
dc97e54412
handle io.BytesIO object with file_wrapper
...
fix #595
2013-08-27 11:45:32 +02:00
Stephane Wirtel
7ed7ca998d
Close all the listener sockets
2013-08-27 11:24:32 +02:00
benoitc
40bc38bb2f
support wsgi.file_wrapper in async workers
2013-08-27 11:17:03 +02:00