benoitc
26a2e104cf
fix typo
2013-12-26 13:54:35 +01:00
Benoit Chesneau
3c659558f2
Merge pull request #649 from hongqn/gevent-patch-early
...
Run worker's setup earlier than set num_workers
2013-12-26 04:50:46 -08:00
Raphaël Slinckx
f1e2073047
Make WorkerTmp accept a configurable tmp dir
2013-12-26 13:47:34 +01:00
benoitc
f7d9979d5b
fix doc for rtd
2013-12-26 13:42:17 +01:00
benoitc
77a30d3671
ease the doc. test with the default rtd theme
2013-12-26 13:19:36 +01:00
Benoit Chesneau
9667cc6f7f
Merge pull request #666 from ipetrov/correct_docs
...
Small changes at docs
2013-12-26 04:19:09 -08:00
benoitc
9d972a1d6a
fix tests under py3
2013-12-26 13:06:09 +01:00
benoitc
95efe1b7d2
add worker_int callback
...
fix #516
2013-12-26 12:26:07 +01:00
Benoit Chesneau
5625dbcfcd
Merge pull request #667 from spladug/proxy-protocol-allow-star
...
proxy_allow_ips: Allow proxy protocol if "*" specified.
2013-12-26 02:57:47 -08:00
benoitc
fdccb61616
use import_module instead of our own hack to import the module
2013-12-26 11:51:18 +01:00
benoitc
a397d90774
don't depend on entry point for internal classes.
...
We don't have to depend on entry points when loading suppoorted workers
nad extensions, instead use the absolute path to load the class.
fix #259
2013-12-26 11:33:05 +01:00
Benoit Chesneau
9dc5d685c3
Merge pull request #665 from askedrelic/feature/tweak-banner-readability
...
Make frontpage banner text easier to read
2013-12-22 03:04:12 -08:00
Neil Williams
9d9e547316
proxy_allow_ips: Allow proxy protocol if "*" specified.
...
This makes proxy_allow_ips symmetrical with forwarded_allow_ips and is
useful in the same situations.
2013-12-17 13:48:27 -08:00
Igor Petrov
708bb840a1
Split access_log_format specifiers description into multiply lines
...
Correct sphinx-build error: source/settings.rst:762: ERROR: Inconsistent literal block quoting.
2013-12-14 01:43:16 +04:00
Matt Behrens
a906910a08
make banner h1 text easier to read
2013-12-12 15:00:45 -08:00
benoitc
69ab24b589
fix examples/nginx.conf
2013-12-11 11:19:35 +01:00
benoitc
fd3180445f
django run_command: remove addr once parsed.
...
fix #577
2013-12-11 11:16:25 +01:00
benoitc
35382f24bb
bump to gunicorn 18.2
2013-12-11 10:00:13 +01:00
benoitc
59bd9a6a9a
deprecate the paste command.
2013-12-11 09:54:03 +01:00
benoitc
2a09c916a7
improve systemd conf
2013-12-11 09:50:24 +01:00
benoitc
047ef65afc
fix doc
...
fix #656
2013-12-11 09:33:01 +01:00
Benoit Chesneau
d0c30a1992
Merge pull request #659 from olt/fix/657
...
merge duplicate EventletWorker.init_process method (fixes #657 )
2013-12-11 00:03:51 -08:00
Benoit Chesneau
3601f20e11
Merge pull request #653 from alasdairnicol/patch-1
...
Use lowercase 'true' in example config to be consistent
2013-12-11 00:03:16 -08:00
Anil V
0daf25e816
Reinit Hub when using old version of gevent.
...
fix #654
2013-12-11 08:59:24 +01:00
Oliver Tonnhofer
bbcb74fdca
merge duplicate EventletWorker.init_process method ( fixes #657 )
2013-12-09 13:09:54 +01:00
Benoit Chesneau
10fadf3d4a
Merge pull request #658 from olt/master
...
Fix missing errno import for eventlet sendfile patch
2013-12-09 02:40:02 -08:00
Oliver Tonnhofer
06bf4b67c1
Fix missing errno import for eventlet sendfile patch
2013-12-09 10:11:47 +01:00
Alasdair Nicol
a01d143aae
Use lowercase 'true' in example config to be consistent
2013-12-02 00:08:26 +00:00
Benoit Chesneau
b892edea48
Merge pull request #650 from thedrow/patch-1
...
FileWrapper should inherit from object.
2013-12-01 06:27:00 -08:00
Omer Katz
ce92230bd3
FileWrapper should inherit from object.
2013-12-01 16:08:37 +02:00
Qiangning Hong
5c4b77cd02
Run worker's setup early than set num_workers
...
`cfg.worker_class` is a property, which calls the classmethod `setup` of
the worker class when accessed. Gevent worker relies on this mechanism
to call `gevent.monkey.patch_all()`.
However, `num_workers` is a hooked property, when it is set, gunicorn
will call hook defined by user. If the hooked code relies on
gevent's monkey patch, it will fail because the monkey patch has not
been applied yet.
This commit makes sure that `worker_class` property getter invokes
before `num_workers` setter to resolve this problem.
2013-11-29 14:00:36 +08:00
Benoit Chesneau
88abcc73d9
Merge pull request #648 from wolever/patch-1
...
Fix "global name 'hub' is not defined"
2013-11-25 20:37:19 -08:00
David Wolever
3be526abed
Fix "global name 'hub' is not defined"
2013-11-25 17:34:38 -05:00
Kenneth Reitz
2956361984
Merge pull request #646 from streeter/patch-1
...
Fix typo.
2013-11-25 11:30:38 -08:00
Chris Streeter
7d64a5f44f
Fix typo.
2013-11-24 21:52:27 -08:00
benoitc
2aa66555f8
Revert "Update configure.rst"
...
This reverts commit 3b843fd942cdb2e5623887073d1acb0d759066c8.
I was tired, we should either remove the that and then the is or keep
a is or... But this latest commit was changing the meaning.
2013-11-19 08:42:12 +01:00
Benoit Chesneau
c7f76587c5
Merge pull request #644 from Winnetou/patch-1
...
Update configure.rst
2013-11-18 23:38:17 -08:00
Benoit Chesneau
7d44b4410c
Merge pull request #643 from wooparadog/fix-error-msg
...
Error message should be able to be encoded in latin1
2013-11-18 23:36:28 -08:00
Mieszko
3b843fd942
Update configure.rst
2013-11-15 12:24:46 +01:00
WooParadog
f22e6d4282
Error message should be able to be encoded in latin1
...
Broken request can have none latin1 characters which would break `util.write_error(client, status_int, reason, mesg)`
2013-11-13 14:28:38 +08:00
benoitc
02b866f08a
don't spam the console
...
SIGWINCH could happen often in the console when the terminal is resized.
Since the error is harmless just display it when the logging level is
debug.
fix #449
2013-11-06 08:02:12 +01:00
benoitc
a48b824d77
add Steven Cummings to THANKS
2013-11-06 07:36:52 +01:00
Steven Cummings
cc193ff266
Don't stringify T and D logging atoms ( Fixes #621 )
2013-11-06 07:36:16 +01:00
benoitc
f47262c5ae
Merge branch 'fix/478' into develop
2013-11-06 07:03:08 +01:00
benoitc
dda514b42b
add @georgexsh to THANKS
2013-11-05 08:40:05 +01:00
Xie Shi
8270d43cc3
small tweak of 53c4484
...
since timeout patch affect only select call,
it is better to not change self.timeout.
2013-11-05 08:39:17 +01:00
benoitc
4ae65eeabf
fix support for current but old stable gevent release
2013-11-05 08:07:57 +01:00
benoitc
411ec544dc
documment the code for the systemd support
2013-11-05 07:34:50 +01:00
benoitc
888115fafd
sync thanks
2013-11-05 07:24:59 +01:00
keakon
e19af09d09
graceful stop for TornadoWorker
2013-11-05 07:16:59 +01:00