summaryrefslogtreecommitdiffhomepage
path: root/src/python/nxt_python_asgi_websocket.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-05-28Use NULL instead of 0 as null pointer constantAndrew Clayton1-4/+4
GCC 15 enabled "-Wzero-as-null-pointer-constant" for C, which checks for places where '0' has been used as a null pointer constant. This showed a few places in Unit where we were using '0' instead of the more correct NULL macro. E.g. $ make -j4 EXTRA_CFLAGS=-Wzero-as-null-pointer-constant ... src/nxt_buf.c: In function ‘nxt_buf_mmap_alloc’: src/nxt_buf.h:192:21: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 192 | (bm)->start = 0; \ | ^ src/nxt_buf.c:135:9: note: in expansion of macro ‘nxt_buf_mem_set_size’ 135 | nxt_buf_mem_set_size(&b->mem, size); | ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2021-10-28Moving request limit control to libunit.Max Romanov1-0/+4
Introducting application graceful stop. For now only used when application process reach request limit value. This closes #585 issue on GitHub.
2020-11-05Python: request processing in multiple threads.Max Romanov1-9/+12
This closes #459 issue on GitHub.
2020-10-01Python: ASGI server introduced.Max Romanov1-0/+1084
This closes #461 issue on GitHub.