2057 Commits

Author SHA1 Message Date
Berker Peksag
33bcd59092 Generate the settings document after 11ee135b40439259816b2764679249323a489ca9. 2015-05-29 06:48:33 +03:00
Berker Peksag
308f10f398 Fix typo and tweak markup. 2015-05-29 06:46:28 +03:00
Randall Leeds
3c2533d122 Merge pull request #1039 from StevenMaude/fix-comment-typos
Fix comment typos
2015-05-27 09:34:19 -07:00
Steven Maude
ad07bccb4e Fix comment typos
In wsgi.py
2015-05-27 14:29:12 +01:00
Berker Peksag
e1aa8068e4 Merge pull request #1033 from ccl0326/master
make graceful shutdown thread-safe
2015-05-23 15:49:20 +03:00
陈程龙
d9b89599cc make graceful shutdown thread-safe 2015-05-23 19:00:38 +08:00
Berker Peksag
e6cf15ce78 Merge pull request #1037 from Starefossen/remote-addr-disambiguation
Document why REMOTE_ADD may not be the user's IP address
2015-05-22 05:01:21 +03:00
Hans Kristian Flaatten
85d857d711 Document why REMOTE_ADD may not be the user's IP
Gunicorn v19 removed functionality which updated `REMOTE_ADDR` to the value of
the `X-Forwared-For` header if received from a trusted upstream client.  This
was a violation of RFC 3875 CGI Version 1.1, and was hence removed.

Close: #1035
PR-URL: #1037
Related: #633

Signed-off-by: Hans Kristian Flaatten <hans.kristian.flaatten@turistforeningen.no>
2015-05-21 23:05:49 +02:00
Benoit Chesneau
03e52954b8 issues and PR*s* 2015-05-20 14:47:38 +02:00
Benoit Chesneau
837e943f78 update CONTRIBUTING doc
Tell to open a new ticket instead of commenting an older one. It makes
difficult to track and apparently notifications are not received.
2015-05-20 14:35:47 +02:00
Benoit Chesneau
3a2c437902 Merge pull request #1031 from jhekkanen/1030-fix
Fix self.nr usage in ThreadedWorker so that auto restart works as expected
2015-05-20 12:56:22 +02:00
Jarmo Hekkanen
826ef2d151 Fix self.nr usage in ThreadedWorker so that auto restart works as expected 2015-05-16 00:36:55 +03:00
Benoit Chesneau
cc7459d953 Merge pull request #1027 from benoitc/fix/clean-gitignore
clean gitignore
2015-05-12 09:10:43 +02:00
Benoit Chesneau
4185b2bd27 clean gitignore
people should be encouraged to use a global gitignore file.
https://help.github.com/articles/ignoring-files/

related to #1007
2015-05-12 08:55:25 +02:00
Berker Peksag
95b5f78ecb Backport urlparse.urlsplit from Python 2.7 to Python 2.6.
urlsplit doesn't reject invalid IPv6 addresses in Python 2.6.
2015-05-10 10:40:32 +03:00
Berker Peksag
945d2ecfc3 Parametrize invalid request tests. 2015-05-09 21:49:10 +03:00
Randall Leeds
72c8be56fc Add test for #1023 2015-05-09 20:46:31 +03:00
Berker Peksag
b951175c66 Raise InvalidRequestLine instead of ValueError if the line contains malicious data.
Closes #1023
2015-05-09 19:12:58 +03:00
Berker Peksag
a7354cf8fe Merge pull request #1010 from krallin/fix-statsd-py3
Fix statsd Logging in Python 3
2015-04-30 15:54:48 +03:00
Thomas Orozco
410bcfa6e1 Fix statsd logging to work on Python 3
Bytes must be passed to socket.send.

Update tests to ensure an actual socket is used, so that errors like
this can be caught in unit tests in the future.
2015-04-30 14:07:03 +02:00
Randall Leeds
5c98b3deb2 Merge branch 'toby-sullivan-hs-disable-sendfile-fix' 2015-04-29 17:40:50 -07:00
Toby Sullivan
11ee135b40 Fix argument to disable sendfile 2015-04-29 17:40:31 -07:00
Berker Peksag
2e0eb074fe Merge pull request #1019 from mgalgs/patch-1
design.rst: grammar
2015-04-29 09:17:52 +03:00
Mitchel Humpherys
52bfb7a0e7 design.rst: grammar
Currently, we introduce this document as a description
of "an" architecture of Gunicorn, which makes it sound
like this document describes one of many Gunicorn
architectures, which doesn't make a lot of sense.

Clarify the grammar by introducing the document as a
description of "the" Gunicorn architecture.
2015-04-28 22:04:48 -07:00
Berker Peksag
afdcfc6a63 Merge branch 'pr/1013' 2015-04-22 16:42:45 +03:00
Vlad Dragos
342512a128 Add the 'gthread' worker to the gunicorn.workers.SUPPORTED_WORKERS dictionary
Fixes #1011.
2015-04-22 16:41:45 +03:00
Berker Peksag
ba92af9acb Merge pull request #1004 from ryanpetrello/master
Retry socket binding up to five times upon EADDRNOTAVAIL.
2015-04-08 11:38:45 +03:00
Ryan Petrello
5e5e0fd6cf Retry socket binding up to five times upon EADDRNOTAVAIL. 2015-04-07 22:06:26 -04:00
Berker Peksag
4e4fe18a21 Fix more typos. 2015-03-27 16:18:41 +02:00
Berker Peksag
08cba365b3 Merge pull request #1000 from nikolas/patch-3
Fix typos in changelog
2015-03-27 16:16:56 +02:00
Berker Peksag
8964e97719 Merge pull request #999 from nikolas/patch-1
Fix typo in changelog
2015-03-27 16:16:38 +02:00
nikolas
460de33a33 Fix typos in changelog 2015-03-27 10:09:27 -04:00
nikolas
8273d77b04 Fix typo in changelog 2015-03-27 10:00:56 -04:00
s7v7nislands
80f95bdff4 update doc: using pip install replace using easy_install 2015-03-20 09:27:41 +02:00
Benoit Chesneau
83be046304 Merge pull request #994 from wong2/reloader
reloader should survive SyntaxError
2015-03-18 13:59:45 +01:00
wong2
81f65c2858 extract to a method 2015-03-18 19:18:15 +08:00
wong2
1f8d3b6c37 use self.cfg.reload 2015-03-18 18:52:54 +08:00
wong2
250d98f48a fix for review 2015-03-14 23:28:24 +08:00
wong2
d03891a470 reloader should survive SyntaxError 2015-03-11 20:46:44 +08:00
Randall Leeds
3bb4de4dff Actually expose the reloader
The reloader was not actually being stored on the worker.
2015-03-06 03:04:18 -08:00
Benoit Chesneau
cc12055baf fix doc link 2015-03-06 11:17:12 +01:00
Benoit Chesneau
2a9ccea7b5 fix typo 2015-03-06 11:09:05 +01:00
Benoit Chesneau
e5d0e1505f correct version is 19.3
since changes are added to the core, let's show it in versionning
2015-03-06 11:05:03 +01:00
Benoit Chesneau
e7a94744fa fix typos 2015-03-06 10:52:18 +01:00
Benoit Chesneau
ccf5a23b84 website : redirect doc link to 19.2.2 doc 2015-03-06 10:41:19 +01:00
Benoit Chesneau
39761603cd bump to 19.2.2 2015-03-06 10:32:35 +01:00
Benoit Chesneau
30177b879a make sure a listener is inheritable
fix #978
2015-03-06 10:17:26 +01:00
Benoit Chesneau
eb485d2134 make worker check_config method optionnal 2015-03-06 10:10:42 +01:00
Benoit Chesneau
e5f6b8024d add check_config instance method to workers
Add a method to check if config requirements are OK for a specific worker by
adding the `check_config` instance method. This method takes 2 arguments: the
config instance followed by the logger instance to log.

This method is right now used in the thread worker to display a warning in
the case it can't handle keep alive connections. This change is related to #979.
2015-03-06 10:01:31 +01:00
Benoit Chesneau
a459986cfd like in threaded workers let some time to the vm to release locks
applied similar change to 8936d8274770bec5fced09b28eb687b23bef20c1

fix #981
2015-03-06 08:51:14 +01:00