uwsgi/uwsgi-1.9.11-systemd_logger-old_systemd.patch
James Oakley 63517e8ca6 - update to 2.0.28 (bsc#1222332, CVE-2024-24795):
* Bit more friendly log messages
  * Add more integration tests
  * Fix static library not found install error on conda
  * pyuwsgi: avoid interleaving pywsgi threadstate
  * Fix gracefully_kill_them_all with running requests
  * Fix –catch-exceptions causing a segfault in Python 3.5+
  * plugins/php: Add support for uwsgi.disconnect() function
  * plugins/python: use PyOS_*Fork stable API functions on 3.7+
  * core/uwsgi: set enable threads by default
  * plugins/python: fix compilation with Python 3.13
  * use pipe in gracefully_kill() to stop worker loop
  * port pypy plugin to python3
  * add some integrations tests
  * apache2/mod_proxy_uwsgi: let httpd handle CL/TE for
    non-http handlers CVE-2024-24795
  * remove race-condition over termination of uWSGI process
    when using need-app and lazy-apps (Hanan .T)
  * fix 32-bit compilation with GCC14 (Rosen Penev)
  * uwsgiconfig: get compiler version with -dumpfullversion
  * Fix uwsgi_regexp_match() with pcre2
- drop uwsgi-93d07ec38b31.patch (upstream)

  * Use parenthesis in print() statement
  * Fixed bug with WSGI responses returning
  * Reverted EPOLLEXCLUSIVE patch, requires more investigation
    * fixed alarm backlog
- Don't build v8 plugin for PowerPC
    * logpipe: Don't setsid() twice (credits: INADA Naoki)
  * This release starts the 'hardening' cycle for uWSGI 2.0 (scheduled for the

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=131
2024-11-04 10:41:22 +00:00

10 lines
276 B
Diff

--- a/plugins/systemd_logger/systemd_logger.c
+++ b/plugins/systemd_logger/systemd_logger.c
@@ -1,5 +1,6 @@
#include "../../uwsgi.h"
+#include <syslog.h>
#include <systemd/sd-journal.h>
ssize_t uwsgi_systemd_logger(struct uwsgi_logger *ul, char *message, size_t len) {