benoitc
e372a26342
Revert "fix gevent graceful timeout for real"
...
This reverts commit fd6c712dd432f6cbbadd53bb59e7c5ce7b07e0cb.
2012-10-27 12:30:27 +02:00
benoitc
cd601a466a
update travis.xml to est on py3
2012-10-26 21:09:23 +02:00
benoitc
fa5af28cf6
update tox & makefile for py.test
2012-10-26 21:07:27 +02:00
benoitc
f0deed1529
fix from @sirkonst feedback
2012-10-25 20:57:23 +02:00
benoitc
d218ba54c6
use args as well.
2012-10-25 10:14:05 +02:00
benoitc
e12f520cea
use args for the socket errno
2012-10-25 07:14:53 +02:00
benoitc
f6dee213bd
we are now using py.test for testing
2012-10-24 23:22:18 +02:00
benoitc
bb00d41ff9
fixes for py27
2012-10-24 23:08:15 +02:00
benoitc
8d453fb341
all tests pass under python 3
2012-10-24 22:07:35 +02:00
benoitc
60644b12af
miscellaneous fixes
2012-10-24 14:24:19 +02:00
benoitc
039bf47c3d
fix exceptions
2012-10-24 14:03:18 +02:00
benoitc
64371a0858
s/raise/reraise
2012-10-24 14:01:04 +02:00
benoitc
003c474fe2
handle bytes & native strings
...
This patch makes sure that we now handle correctly bytes and native
strings on python 3:
- In python 3, sockets are now taking and returning bytes.
- according to PEP3333, headers should be native strings and body in
bytes.
2012-10-24 13:51:35 +02:00
benoitc
5759d59f08
add six modules inside gunicorn
2012-10-24 12:18:16 +02:00
benoitc
7c579f6ca4
support >= 2.6 we don't need anymore this port
2012-10-24 12:12:52 +02:00
benoitc
53ce50bc7b
obvious syntax fixes preparing python3 support
2012-10-24 12:11:15 +02:00
benoitc
e984008010
add rss feed to the homepage. fix #146
2012-10-24 11:44:42 +02:00
benoitc
68b5abc881
some setup enhancements preparing the python 3 release
2012-10-24 11:33:25 +02:00
Randall Leeds
fd6c712dd4
fix gevent graceful timeout for real
...
`server.kill()` is too aggressive. It sends a GreenletExit exception
to all the pool workers, causing them to exit immediately.
A simple one line fix is to use `server.stop()`. In my testing, it
appears that `server.stop_accepting()` will make the server stop
listening, but pending connections already in the `accept()` backlog
are still handled. With `server.stop()` the accept backlog is not
handled, the listener is closed in the worker, but existing requests
are allowed to exit gracefully.
2012-10-24 11:27:53 +02:00
zakdances
883c36862d
Update README.rst
...
Updated readme with script example for Gunicorn Paster.
2012-10-24 11:27:53 +02:00
benoitc
20bae2ee0f
deploy using gaffer .
2012-10-24 10:40:57 +02:00
benoitc
80f8caf622
add the logo as PNG
...
useful when you do'nt have gimp or such on a machine.
2012-10-21 08:14:27 +03:00
benoitc
3ca6edb02b
link to the doc
2012-10-18 23:17:31 +02:00
benoitc
55fbc315ce
I just realized we were in 2012 ...
2012-10-18 21:59:48 +02:00
benoitc
fedb7e097e
bump to 0.15.0
2012-10-18 21:58:33 +02:00
benoitc
f63583eab3
same level
2012-10-18 21:39:33 +02:00
benoitc
40d705c5d6
Revert "drops suplemental groups when droping privileges."
...
This reverts commit 634ccba7c3f9f72f7aedbe4690c18ebdbdf8b2e1.
doesn't work on OSX for some reason
2012-10-18 21:27:05 +02:00
benoitc
056e513bc2
add Prateek Singh Paudel to the thanks.
2012-10-18 18:43:32 +02:00
benoitc
3953380b33
add Vangelis Koukis to the THANKS.
2012-10-18 18:31:28 +02:00
benoitc
634ccba7c3
drops suplemental groups when droping privileges.
...
fix issue spotted by Vangelis Koukis
2012-10-18 18:31:28 +02:00
benoitc
16b62072cd
fix links on the website
2012-10-18 18:29:28 +02:00
benoitc
b75ceeb8d9
add logo to the doc
2012-10-18 18:12:14 +02:00
benoitc
0aa12256fb
add some links and better wording
2012-10-18 18:03:37 +02:00
benoitc
7f801ef000
split the changelog
2012-10-18 17:58:28 +02:00
benoitc
8e8a3a3f70
use relative bin path
2012-10-18 17:21:14 +02:00
Prateek Singh Paudel
5be55b0b64
Revise readme.
2012-10-04 00:48:18 +05:45
Prateek Singh Paudel
f6e2fbc935
Add new website.
...
Older html is modified with redirect code to redirect to relevant
part in newsite or docs. So, someone linking to us will still work.
2012-10-04 00:43:15 +05:45
Prateek Singh Paudel
7bb862536a
Rename htdocs to site.
2012-10-03 18:00:33 +05:45
Prateek Singh Paudel
736b29f541
Remove site dir.
2012-10-03 17:59:42 +05:45
Prateek Singh Paudel
a7b13d8ae1
Sphinx extension to generate settings doc.
...
Include gunicorn_ext.py in conf.py. Include the generated
settings.rst in configuration.rst.
Get the version number for doc from gunicorn.__version__
2012-10-03 17:45:41 +05:45
Prateek Singh Paudel
4401d04ebf
Rename to use some part of it as sphinx ext.
2012-10-03 17:35:39 +05:45
Prateek Singh Paudel
9eba21fb8e
Consistent formatting and some addditions.
...
Ensures sphinx will generate consistent html headings. Some
addition of header text.
2012-10-03 16:41:44 +05:45
Prateek Singh Paudel
5e543bc3dd
Move files for sphinx.
2012-10-03 05:09:55 +05:45
Prateek Singh Paudel
914f4cc31f
Initial sphinx doc structure.
2012-10-03 05:04:07 +05:45
Prateek Singh Paudel
c8ef876b06
Remove unneeded files and dir.
2012-10-03 04:47:33 +05:45
Prateek Singh Paudel
fc2f694ac3
Rename doc to docs.
2012-10-03 04:29:35 +05:45
Randall Leeds
d44e3528b9
remove defunct email address from setup.cfg
...
I don't have an rpm machine handy anymore. I suspect this should
always have been filled in by the rpmbuild environment of the user
running the script, anyway, and I should not have been listed here.
2012-09-27 19:14:41 +02:00
Randall Leeds
dde77b73d1
add x-forwarded-proto as secure scheme default
...
Heroku uses this and it's the only one mentioned in Wikipedia's
list of common non-standard headers.
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
2012-09-27 19:14:41 +02:00
Randall Leeds
5f2a946f96
update PPA link
2012-09-27 19:14:41 +02:00
Xie Shi
274e43489b
Workers won't be killed if timeout set to 0
2012-09-27 19:14:41 +02:00