Python: supporting ASGI legacy protocol.
Introducing manual protocol selection for 'universal' apps and frameworks.
This commit is contained in:
@@ -198,6 +198,12 @@ static nxt_conf_map_t nxt_python_app_conf[] = {
|
||||
offsetof(nxt_common_app_conf_t, u.python.callable),
|
||||
},
|
||||
|
||||
{
|
||||
nxt_string("protocol"),
|
||||
NXT_CONF_MAP_STR,
|
||||
offsetof(nxt_common_app_conf_t, u.python.protocol),
|
||||
},
|
||||
|
||||
{
|
||||
nxt_string("threads"),
|
||||
NXT_CONF_MAP_INT32,
|
||||
|
||||
Reference in New Issue
Block a user