summaryrefslogtreecommitdiffhomepage
path: root/src/python/nxt_python.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-10-28Moving request limit control to libunit.Max Romanov1-1/+0
Introducting application graceful stop. For now only used when application process reach request limit value. This closes #585 issue on GitHub.
2021-07-20Python: using default event_loop for main thread for ASGI.Max Romanov1-1/+1
Unit's ASGI implementation creates a new event loop to run an application for each thread since 542b5b8c0647. This may cause unexpected exceptions or strange bugs if asyncio synchronisation primitives are initialised before the application starts (e.g. globally). Although the approach with a new event loop for the main thread is consistent and helps to prepare the application to run in multiple threads, it can be a source of pain for people who just want to run single-threaded ASGI applications in Unit. This is related to #560 issue on GitHub.
2021-05-20Python: support for multiple targets.Oisin Canty1-1/+16
2020-11-05Python: request processing in multiple threads.Max Romanov1-7/+12
This closes #459 issue on GitHub.
2020-11-05Python: introducting macro to simplify minor version check.Max Romanov1-1/+3
2020-10-13Fixed building with Python 3.9.Valentin Bartenev1-0/+1
PyUnicode_GET_SIZE() in deprecated since 3.3 and will be removed in 3.12. In version 3.9 it was explicitly marked by deprecation warning causing compilation error with Unit. PyUnicode_GET_LENGTH() must be used instead.
2020-10-01Python: ASGI server introduced.Max Romanov1-0/+29
This closes #461 issue on GitHub.
2020-09-14Python: split module initialization from WSGI implementation.Max Romanov1-0/+31
This is required for futher ASGI implementation.