Randall Leeds
f3bb0e1e1d
Fix typo WSGIErrorsWraper -> WSGIErrorsWrapper
2014-11-30 20:54:30 -08:00
Berker Peksag
b8b0a87fee
Fix header in news.rst.
2014-11-30 08:49:20 +02:00
Berker Peksag
496c207a26
Fix ref URL of the pr role.
2014-11-30 00:39:00 +02:00
Berker Peksag
d12fc05de0
Added issue and pr roles.
...
This commit also split news.rst and 2014-news.rst. news.rst will
only contains latest unreleased version's changelog.
2014-11-30 00:39:00 +02:00
Benoit Chesneau
af4b1b9755
Merge pull request #946 from berkerpeksag/fix-namerror
...
Fix NameError in gunicorn/workers/gthread.py.
2014-11-24 23:06:59 +01:00
Benoit Chesneau
859a4b4bb4
Merge pull request #945 from berkerpeksag/flake8-cleanup
...
Use more Pythonic style in gunicorn/.
2014-11-24 23:06:34 +01:00
Berker Peksag
4713ef7f37
Pass a 'sent' parameter to Mock().
2014-11-24 23:07:46 +02:00
Matt Long
71f7d353f0
Use sent instead of response_length in access log
...
Previously, resp.response_length is used for the b atom of the access
log formatter. If the application does not set a content-length header,
response_length is left as `None`, resulting in b being set to the
fallback "-". resp.sent is a more reliable way to determine the number
of bytes in the response body.
2014-11-24 23:03:47 +02:00
Berker Peksag
6086e31d07
Fix NameError in gunicorn/workers/gthread.py.
2014-11-24 18:45:00 +02:00
Berker Peksag
56e7d15fb8
Use more Pythonic style in gunicorn/.
2014-11-24 18:43:21 +02:00
Benoit Chesneau
783984cabd
Merge pull request #944 from redspade/master
...
Added missing import for `platform` in tests/support.py for os x.
2014-11-24 15:06:19 +01:00
Sungho Ryu
53a4ea556f
Added missing import for platform in tests/support.py for os x.
2014-11-24 14:58:31 +01:00
Berker Peksag
194b2d68e3
Also update docs/source/news.rst for #845 .
2014-11-23 23:24:52 +02:00
Randall Leeds
cb7859caea
add news
2014-11-23 12:05:56 -08:00
Randall Leeds
ac3554cb91
remove whitespace
2014-11-23 11:57:20 -08:00
Berker Peksag
469b97a8b7
Merge pull request #943 from BFriedland/copyedits
...
Fixed typos/copyediting
2014-11-23 01:10:59 +02:00
BFriedland
05c6977122
Fixed typos
2014-11-22 14:18:56 -08:00
Berker Peksag
fcb700ca66
Merge pull request #941 from benoitc/unify-paste-logging
...
Set logconfig default to paster more trivially
2014-11-20 08:59:58 +02:00
Randall Leeds
1b0901d661
Set logconfig default to paster more trivially
...
Rather than using fileConfig twice and risking different defaults
and behavior around disable_existing_loggers (ref #902 ), simply
set the default logging config file to be the paster config file
if it has a logger section and let glogging set up the rest.
2014-11-19 15:26:26 -08:00
Randall Leeds
2f6aa7535c
Merge branch '867-fix-eventlet-shutdown'
2014-11-18 15:13:00 -08:00
Randall Leeds
2aabf48317
PEP8
2014-11-18 15:12:04 -08:00
Randall Leeds
415956da23
Fix eventlet shutdown to actively shut down the workers.
2014-11-18 15:12:04 -08:00
Randall Leeds
fcba1a6c1c
Merge pull request #770 from dwagon/731-umask
...
731 - Avoid creating world writable files
2014-11-17 19:03:01 -08:00
K Subramanian
d203d022f5
Add Note for async workers with Django
...
Django lazy loads URLConf during the first request.
2014-11-17 18:36:09 -08:00
Randall Leeds
3bffef06c2
Merge pull request #936 from minichate/nginx_signal_docs
...
Remove no-longer-true statement about matching Nginx signal handling
2014-11-12 21:17:54 -08:00
Randall Leeds
14bbd1cfce
comment formatting
2014-11-12 13:06:02 -08:00
Randall Leeds
96a15b38a8
Merge pull request #931 from laterpay/feature/921-ignore-async-handle_request-socket-error
...
Feature/921 ignore async handle request socket error
2014-11-12 13:05:09 -08:00
Christopher Troup
73aac61945
Remove no-longer-true statement about matching Nginx signal handling
2014-11-12 15:01:50 -05:00
Jonas Maurus
fbc1e29c72
use six.reraise to amend the traceback
2014-11-12 09:50:10 +00:00
Jonas Maurus
d0f1ff659f
fix #921 by passing socket.error on to the caller (where it will be ignored)
2014-11-11 10:13:09 +00:00
Stéphane Wirtel
ccb08b541d
Merge pull request #929 from wong2/dev
...
propagate proxy_protocol_info to keep-alive requests correctly, fix #923
2014-11-06 07:58:13 +01:00
wong2
f8902a6837
propagate proxy_protocol_info to keep-alive requests correctly, fix #923
2014-11-06 14:48:16 +08:00
benoitc
4c601ce447
optimize the sync worker
...
This change optimize the sync worker when we only have to listen on one
interface. While I'm here, I fixed a long and unnoticed outstanding issue when
we were accepting on multiple interfaces (wonder if someone really use it), at
some point soe interfaces were skipped.
2014-10-25 11:58:28 +02:00
Berker Peksag
c152ce0dd0
Add a versionadded directive to the sendfile documentation.
2014-10-20 20:17:30 +03:00
benoitc
2f226acda4
fix method call.
2014-10-19 18:06:51 +02:00
benoitc
2849147f8a
allows to enable/disable the use of sendfile()
...
fix #856
2014-10-19 10:57:42 +02:00
benoitc
cfc6dc778e
gthread: improve accepting connections loop
...
make sure we stop accepting immediately when max connections is achieved.
2014-10-19 10:04:36 +02:00
benoitc
048dcf410c
uses gunicorn.selectors when python < 3.4
2014-10-19 09:48:52 +02:00
Randall Leeds
02ca92d30a
Merge pull request #919 from berkerpeksag/cleanup-scripts
...
Use tox in .travis.yml.
2014-10-18 17:12:42 -07:00
Berker Peksag
e84068b518
Use tox in .travis.yml.
...
This way we can avoid code duplication.
Also, this change makes tests faster due to ignoring the sdist step
and adds Python 3.2, 3.4 and PyPy 3 to build matrix.
2014-10-19 02:12:59 +03:00
Berker Peksag
b1b26c5f93
Add a news entry for #917 .
2014-10-19 00:46:18 +03:00
Berker Peksag
9e36c54c3d
Merge pull request #918 from menghan/remove-deprecated
...
Remove deprecated option --debug, fix #917
2014-10-17 12:01:01 +03:00
Menghan
51bd1b12a1
remove option --debug and update documents
2014-10-17 11:40:03 +08:00
Berker Peksag
bf3ef8f389
Add selectors module to gunicorn codebase.
...
Closes #886 .
2014-10-16 15:44:10 +03:00
Randall Leeds
bb87633345
Merge pull request #916 from berkerpeksag/cleanup-manifest
...
Simplify recursive-exclude rules in MANIFEST.in.
2014-10-16 03:17:22 -07:00
Berker Peksag
9cbec279f3
Simplify recursive-exclude rules in MANIFEST.in.
2014-10-15 22:25:32 +03:00
Randall Leeds
f65066c0eb
Merge pull request #913 from berkerpeksag/tweak-setup
...
Remove unused install_requires parameter in setup.py.
2014-10-14 17:32:17 -07:00
Benoit Chesneau
9966db109e
Merge pull request #914 from berkerpeksag/remove-3.1-support
...
Python 3.1 is not supported anymore.
2014-10-14 15:23:02 +02:00
Berker Peksag
78fb66ee7e
Python 3.1 is not supported anymore.
2014-10-14 15:27:46 +03:00
Berker Peksag
2cb6b682db
Remove unused install_requires parameter in setup.py.
...
Also, renamed PyTest class to PyTestCommand and made
a couple cosmetic changes.
2014-10-14 15:23:15 +03:00