Randall Leeds
12e5482a4a
Merge pull request #711 from berkerpeksag/wheel-universal
...
Add universal Wheel support.
2014-03-04 17:03:32 -08:00
Berker Peksag
765b8ab48b
Add universal Wheel support.
...
Gunicorn works on both Python 2 and Python 3, so we can create a
universal Wheel distribution.
See https://github.com/pypa/sampleproject/blob/master/setup.cfg for
more information.
2014-03-05 02:23:38 +02:00
Randall Leeds
4baaa08beb
Merge pull request #710 from berkerpeksag/patch-1
...
Remove duplicate classifiers.
2014-03-01 15:52:27 -08:00
Berker Peksag
3783bc79f4
Remove duplicate classifiers.
2014-03-01 00:19:30 +02:00
Randall Leeds
a01a224e66
Merge pull request #697 from benoitc/issue/694
...
Issue/694
2014-02-23 12:26:03 -08:00
Benoit Chesneau
5ffa339fb5
Merge pull request #707 from qrilka/patch-1
...
gafferp renamed to gaffer
2014-02-22 14:31:00 +01:00
Kirill Zaborsky
9ce722e638
gafferp renamed to gaffer
2014-02-21 17:14:31 +03:00
Randall Leeds
88ccfdb981
Clean up some inconsistent in error handling
...
It is more DRY to let the exception here bubble.
2014-02-20 03:47:49 -08:00
Randall Leeds
6f1d3362c5
Merge pull request #686 from benoitc/web-concurrency
...
Honor $WEB_CONCURRENCY environment variable.
2014-02-20 02:17:00 -08:00
Randall Leeds
dc7dc14229
More logging.conf example typos
2014-02-20 02:00:23 -08:00
Randall Leeds
55afb41532
Merge pull request #703 from wking/701-consolidate-config-log
...
arbiter: Consolidate configuration logging
2014-02-14 15:34:49 -08:00
W. Trevor King
64f98a0a1c
arbiter: Consolidate configuration logging
...
Benoit prefers the log prefix for the first line ("Current
configuration:") but not subsequent lines (" {config}: {value}") [1],
so consolidate to a single log.debug call. The newer '{0}'.format()
syntax requires Python 2.6 [2], but our setup.py only claims
compatibility with 2.6, 2.7, 3.2, and 3.3, so that should be fine.
[1]: https://github.com/benoitc/gunicorn/pull/701/files#r9767234
[2]: http://docs.python.org/2/whatsnew/2.6.html#pep-3101-advanced-string-formatting
2014-02-14 15:15:35 -08:00
Randall Leeds
2b3f63601b
Add documentation for WEB_CONCURRENCY
2014-02-14 15:12:21 -08:00
Randall Leeds
97977e41ab
Merge pull request #701 from wking/700-debug-preload
...
Deprecate the --debug setting
2014-02-14 15:08:40 -08:00
Randall Leeds
2ee1c26ec8
Merge pull request #702 from berkerpeksag/use-email-utils-formatdate
...
Use email.utils.formatdate in gunicorn.util.http_date.
2014-02-14 14:43:14 -08:00
Berker Peksag
5c78adf9b9
Use email.utils.formatdate in gunicorn.util.http_date.
...
There is a also an open issue for CPython:
http://bugs.python.org/issue747320
2014-02-14 02:26:09 +02:00
W. Trevor King
2277901a72
Deprecate the --debug setting
...
"Limits the number of worker processes to 1" hasn't been true since
06a4dc6 (fix one error in gunicorn_paster, global conf was ignored,
2010-06-22), although it was true when the line was added in 3c7d532
(Large refactor of the documentation and website, 2010-05-22).
"changes some error handling that's sent to clients" hasn't been true
since feb86d3 (don't display the traceback in the HTTP response,
2013-09-27).
The only remaining actions that --debug had were disabling --preload
and hiding debug-level config logging. The former seems useless (just
disable --preload directly) and the latter at doesn't seem useful
enough for a new setting (just turn down --log-level). With this
commit, --preload always works and you always get debug-level config
logging.
I left a stub Debug entry in gunicorn.config, which we can leave in
place while folks convert any gunicorn scripts and configurations to
drop --debug. When the time comes, we can just remove that entry. I
also the boolean-config tests to use --preload, since that will still
be around after we remove the dummy Debug entry.
Fixes #700 .
2014-02-13 12:40:41 -08:00
Kenneth Reitz
0b6077accc
Merge pull request #699 from berkerpeksag/patch-1
...
Fix a typo.
2014-02-11 12:20:36 -05:00
Berker Peksag
1e48a4071a
Fix a typo.
...
environement -> environment
2014-02-10 21:21:03 +02:00
Randall Leeds
b981014acc
Log exceptions that occur after response start
...
Fix #694
2014-02-06 19:31:22 -08:00
Randall Leeds
56b9fca562
Merge pull request #690 from levigross/master
...
Invalid user supplied messages should be HTML entity escaped.
2014-02-06 12:45:34 -08:00
Kenneth Reitz
64144c732f
Use $WEB_CONCURRENCY environment variable for default workers value
2014-02-06 11:44:52 -08:00
Levi Gross
e0d2930887
Removed the <p> tag from the base file and added it to the template
2014-02-05 19:45:30 -05:00
Benoit Chesneau
6e9644c5a6
Merge pull request #692 from xealot/691-raw_env-fix
...
fixes issue #691 , raw_env config file parsing
2014-02-06 01:20:44 +01:00
Trey Long
dbf6c76ac1
fixes issue #691 , raw_env config file parsing
2014-02-05 19:07:35 -05:00
Randall Leeds
3d0afc837e
fix typo in logging.conf example
2014-02-04 19:55:07 -08:00
Randall Leeds
03c9ba369a
Merge pull request #689 from rikva/patch-1
...
Update settings.rst
2014-02-04 14:06:58 -08:00
Levi Gross
791ea6ae53
Invalid user supplied messages should be escaped HTML entity escaped.
2014-02-04 10:57:15 -05:00
Rik
80198278ce
Update settings.rst
...
Gevent version should be 0.13 at least, since Gunicorn needs the gevent.server support (also see: http://blog.gevent.org/2010/07/14/gevent-0-13-0-released/ )
2014-02-04 10:11:16 +01:00
Randall Leeds
0226b2cd1f
Clarify secure scheme header warning in deploy doc
...
Gunicorn doesn't restrict the X-Forwarded-For header, only the
scheme header.
2014-02-04 00:26:03 -08:00
Randall Leeds
f375f929de
Regenerate settings.rst
2014-01-30 16:50:08 -08:00
Randall Leeds
5d13659f0e
Documentation formatting
2014-01-30 16:49:47 -08:00
Randall Leeds
1f7d3429c2
Add documentation for nginx X-Forwarded-*
...
Fix #571
2014-01-30 16:30:58 -08:00
Randall Leeds
87083c294a
Merge pull request #687 from benoitc/feature/no_active_idle-2
...
Feature/no active idle 2
2014-01-30 15:38:44 -08:00
Adrien CLERC
d76bab4d71
Use a dynamic timeout to wait for the optimal time.
2014-01-30 15:32:02 -08:00
benoitc
89a178ac3e
fix python3 support
2014-01-30 15:29:17 -08:00
Kenneth Reitz
a8ce74b29b
Honor $WEB_CONCURRENCY environment variable.
...
Allows for changing concurrency configuration without changing
application code. This is an environment variable that other
communities (e.g. Rails) are starting to follow, and have enjoyed for a
little while now.
Have discussed with /cc @benoitc in the past and he was +1
2014-01-30 12:14:18 -05:00
Randall Leeds
d4f2481384
Merge pull request #682 from tilgovi/feature/526
...
Add --reload option for code reloading
2014-01-29 14:42:41 -08:00
Randall Leeds
e41e920a7c
Add note about paste and preload for reloader
2014-01-29 14:34:00 -08:00
Randall Leeds
035740a340
Merge pull request #685 from malthe/include-access-log-in-syslog-handler
...
Also include access log in the syslog handler.
2014-01-28 02:11:25 -08:00
Malthe Borch
0f5d9df8b4
Rename to just "error".
2014-01-28 11:05:41 +01:00
Randall Leeds
98022dffbb
Include tz offset in access log
...
Fix #683
2014-01-27 22:54:03 -08:00
Randall Leeds
08594e6407
typo
2014-01-27 20:20:49 -08:00
Malthe Borch
764d9d439a
Also include access log in the syslog handler.
2014-01-24 17:41:05 +00:00
Kenneth Reitz
98b1fa5a27
Merge pull request #684 from lkucharski/master
...
fix two misspellings
2014-01-23 10:53:31 -08:00
Łukasz Kucharski
2b7c30d69f
fix two misspellings
2014-01-23 10:42:55 +01:00
Randall Leeds
e106bf82a8
Add --reload option for code reloading
...
Fix #526
2014-01-15 19:08:34 -08:00
Randall Leeds
6ed6b1399e
docs typo -- fix #678
2014-01-14 13:53:15 -08:00
Randall Leeds
b0fd632695
Merge pull request #681 from gnotaras/enhance-rpm
...
Enhance RPM
2014-01-14 00:04:31 -08:00
George Notaras
64f555eb7e
Improved the documentation that is packaged in the RPM.
...
Until now, only the documentation in source form was packaged.
This changeset improves the RPM generator so that the compiled HTML
version of the documentation is packaged. Also, other informative
documents (README, LICENSE, NOTICE, THANKS) and an example server
configuration file have been included.
Finally, the Sphinx documentation's conf.py has been improved so
that it is easier to compile the docs using the default theme.
2014-01-13 03:23:38 +02:00