22 Commits

Author SHA1 Message Date
Tero Saarni
362a52bd84 Added parameter to ssl_context hook for constructing default context
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2022-02-11 19:26:56 +02:00
Tero Saarni
5a581c0b14 Update SSLContext handling
* Change deprecated ssl.wrap_socket() to SSLContext.wrap_context().
* Add new server hook to allow user to create custom SSLContext.
* Updated the documentation.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2021-09-12 17:39:06 +03:00
Hugo
e974f30517 Drop support for Python 2
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Berker Peksag
01a1c7ca9a
Add an example for the raw_env setting
Refs #1472
2018-03-27 14:29:30 +03:00
Berker Peksag
9fad8ab6f5 Remove outdated documentation about using entry points
Closes #1365
2017-02-05 01:24:49 +03:00
Phil Jones
9d158bec94 Add access_log_format to config example (#1251)
The example given is the current default log format.
2016-05-03 14:15:36 +03:00
benoitc
e005c9d93a reverse change in example_config.py 2016-05-02 15:05:15 +02:00
benoitc
66546d66df fix #1246 2016-05-02 15:04:30 +02:00
Arnav Kumar
680f8d7281 Fix URL and default worker type in example_config 2016-02-18 01:03:38 +08:00
Menghan
51bd1b12a1 remove option --debug and update documents 2014-10-17 11:40:03 +08:00
Stéphane Wirtel
944e224d36 Fix typo in the examples 2014-06-16 17:51:34 +02:00
Andrew Burdo
ed2d2a8ab3 Change the rest of QUIT and TERM signals.
This will restore graceful shutdown of workers by master.
Also worker_int callback is moved from handle_exit (INT and TERM before switching) to handle_quit(INT and QUIT).
2014-06-13 14:32:11 +03:00
benoitc
d9b7e32d34 try to log what happened in the worker after a timeout.
fix #518
2014-06-01 11:22:19 +02:00
benoitc
95efe1b7d2 add worker_int callback
fix #516
2013-12-26 12:26:07 +01:00
benoitc
17ce6958e3 fix config example. close #388
The setting named changed. spotted by @boyxuper. Thanks!
2012-08-03 06:31:01 +02:00
benoitc
ce907348ef close #306 .
We badly called this function `start_server` when it should have been
`when_ready` .
2012-02-29 14:09:49 +01:00
benoitc
cc26270783 close #170 .
add --check-config option to check the config and app loading.
2012-02-20 11:13:59 +01:00
benoitc
3acf75338f add accesslog example 2011-09-28 12:36:43 +02:00
Keegan Carruthers-Smith
133a85e4ee Updated docs to reflect the proper alternative syntax for specifying a worker class. 2011-06-25 09:19:05 +02:00
WoLpH
179b87639c removed python string formatting from logging to enable log message grouping 2011-05-11 23:11:36 +02:00
Ben Cochran
e7938fa3df Fixed incorrect example config. (Since 036f8b5 it's been pre/post for hooks, not before/after) 2010-10-30 15:56:23 +08:00
Paul J. Davis
80f4d17122 Added an example reloader config to the examples.
Thanks to thomasst on GitHub for the sample.

Closes #54
2010-07-07 21:27:43 -04:00