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
Konstantin Enchant
8f4edfa0bf
Callable hooks for paster config.
2012-09-27 19:14:41 +02:00
benoitc
f47d100446
initialize the logging config file with defaults.
...
Set correct default to the logging config file so we are able to use our
own loggers. While I'm here fix the example.
2012-09-27 19:14:40 +02:00
benoitc
1362132162
support file reopening & reexec for all loggers
2012-09-27 19:14:40 +02:00
Konstantin Kapustin
70534acde8
Implantation proxy protocol
2012-09-27 19:14:40 +02:00
Konstantin Kapustin
aa22115cfc
Set timeout for client socket (slow client DoS).
2012-09-27 19:14:40 +02:00
Konstantin Kapustin
75933bae81
Change base-classes for NoMoreData, ChunkMissingTerminator and InvalidChunkSize.
...
If remote client send invalid data in request with "Transfer-Encoding:chunked" gunicorn can raised some exceptions (see http.body.ChunkedReader) as NoMoreData, ChunkMissingTerminator, InvalidChunkSize.
User application shouldn't know about specific gunicorn exceptions and must catch standard IOError if want.
Example:
def app(env, start_response):
body = env["wsgi.input"]
chunk_size = 1024
while True:
try:
chunk = body.read(chunk_size)
except IOError:
.. correct action for error
if not chunk:
break
.. do somethink with chunk
2012-09-27 19:14:40 +02:00
Konstantin Kapustin
4be3282440
Check Content-Length header.
...
For not chunked request do validation Content-Length header and return 400 if invalid.
2012-09-27 19:14:40 +02:00
Konstantin Kapustin
238f252a3a
Fixed output of content_length in access log.
2012-09-27 19:14:40 +02:00
Benoit Chesneau
52c057b92f
Merge pull request #409 from aartur/master
...
Patch for nginx config change
2012-09-25 16:22:37 -07:00
aartur
d19d34d1b8
Safer nginx config (issue #404 ).
2012-09-22 22:12:34 +02:00
Konstantin Kapustin
d28366a683
Add ForwardedAllowIPS option.
2012-08-26 22:28:34 +02:00
Benoit Chesneau
ab5473be92
Merge pull request #385 from sirkonst/graceful_timeout
...
Fix graceful shutdown for gevent.
2012-08-26 12:48:44 -07:00
benoitc
fad7353d51
allows gunicorn to load a pre-compiled app. close #316
...
Patch adapted from the one submitted from @rbdrbd with a small change to
reuse the code.
2012-08-26 21:46:20 +02:00
Benoit Chesneau
f512679802
Merge pull request #393 from sirkonst/fix_check_LimitRequestLine
...
Fix LimitRequestLine check.
2012-08-21 13:48:42 -07:00
Konstantin Kapustin
4fdfc3a76b
Fix LimitRequestLine check.
2012-08-20 16:02:52 +04:00