diff options
author | rodent <rodent@pkgsrc.org> | 2014-11-30 16:56:58 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-11-30 16:56:58 +0000 |
commit | ef44b1bc2b0d73f499abbce148b0b8d1752f0af7 (patch) | |
tree | a62d0b4c21ba16862e7d28cdf6dcff7324f840a8 /www | |
parent | 7cf5ec866f7b82e33a452746ceebdc4c0b2e0622 (diff) | |
download | pkgsrc-ef44b1bc2b0d73f499abbce148b0b8d1752f0af7.tar.gz |
uWSGI 2.0.8
Note: this is the first version with disabled-by-default SSL3, if you need it, you can re-enable with --ssl-enable3 option
Bugfixes
fixed PHP SCRIPT_NAME usage when --php-app is in place
allow "appendn" hook without second argument
fix heap corruption in the Carbon plugin (credits: Nigel Heron)
fix getifaddrs() memory management
fixed tcsetattr() usage
fixed kevent usage of return value (credits: Adriano Di Luzio)
ensure PSGI response headers are in the right format
fixed reloading of attached daemons
fixed SSL/TLS shutdown
fixed mountpoint logic for paths not ending with / (credits: Adriano Di Luzio)
fixed Python3 support in spooler decorators (credits: Adriano Di Luzio)
New Features
RTSP and chunked input backports from 2.1 for the HTTP router
The --http-manage-rtsp and ``--http-chunked-input` have been backported from 2.1 allowing the HTTP router to detect RTSP and chunked requests automatically. This is useful for the upcoming https://github.com/unbit/uwsgi-realtime plugin.
--hook-post-fork
This custom hook allows you to call actions after each fork().
fallback to trollius for asyncio plugin
If you build the asyncio plugin for python2, a fallback to the trollius module will be tried.
This feature has gotten basically zero test coverage, so every report (bug or success alike) is welcome.
added sweep_on_full, clear_on_full and no_expire to --cache2
Three new options for --cache2 have been added for improving the caching expire strategies:
sweep_on_full will call a sweep (delete all of the expired items) as soon as the cache became full
clear_on_full will completely clear the cache as soon as it is full
no_expire forces the cache to not generate a cache sweeper thread, delegating items removal to the two previous options
backported wait-for-fs/mountpoints from 2.1
--wait-for-fs <path> suspend the uWSGI startup until a file/directory is available
--wait-for-file <path> suspend the uWSGI startup until a file is available
--wait-for-dir <path> suspend the uWSGI startup until a directory is available
--wait-for-mountpoint <path> suspend the uWSGI startup until a mountpoint is available
improved the offload api (backport from 2.1)
uWSGI 2.0.8 is compatible with the upcoming https://github.com/unbit/uwsgi-realtime plugin that allows the use of realtime features (like websockets or audio/video streaming) using the uWSGI offload engine + Redis publish/subscribe.
Allows building plugins from remote sources as embedded
The UWSGI_EMBED_PLUGINS environment variable has been extended to support remote plugins. As an example you can build a monolithic uwsgi binary with the Avahi and realtime plugins as:
UWSGI_EMBED_PLUGINS="avahi=https://github.com/20tab/uwsgi-avahi,realtime=https://github.com/unbit/uwsgi-realtime" make
Automatically manage HTTP_X_FORWARDED_PROTO
Albeit a new standard is available in the HTTP world for forwarded sessions (http://tools.ietf.org/html/rfc7239) this release adds support for the X-Forwarded-Proto header, automatically setting the request scheme accordingly.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-uwsgi/Makefile | 4 | ||||
-rw-r--r-- | www/py-uwsgi/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile index 8642e08af5c..2dde5b35267 100644 --- a/www/py-uwsgi/Makefile +++ b/www/py-uwsgi/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2014/09/10 16:02:33 wiedi Exp $ +# $NetBSD: Makefile,v 1.28 2014/11/30 16:56:58 rodent Exp $ -DISTNAME= uwsgi-2.0.7 +DISTNAME= uwsgi-2.0.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ diff --git a/www/py-uwsgi/distinfo b/www/py-uwsgi/distinfo index db8c471db1a..bf80fae5414 100644 --- a/www/py-uwsgi/distinfo +++ b/www/py-uwsgi/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.21 2014/09/10 16:02:33 wiedi Exp $ +$NetBSD: distinfo,v 1.22 2014/11/30 16:56:58 rodent Exp $ -SHA1 (uwsgi-2.0.7.tar.gz) = 0e9d1f881736674221d60a5dd5dfcbc25051d48b -RMD160 (uwsgi-2.0.7.tar.gz) = d92eca903d2ccf43db94a464e0672bc6d336bca1 -Size (uwsgi-2.0.7.tar.gz) = 772385 bytes +SHA1 (uwsgi-2.0.8.tar.gz) = f017faf259f409907dc8c37541370d3e803fba32 +RMD160 (uwsgi-2.0.8.tar.gz) = afbc605ee0e67ec18d2737f59aa216e2645f1548 +Size (uwsgi-2.0.8.tar.gz) = 775959 bytes SHA1 (patch-base.ini) = f1b61f8323a7be92ebae5c87b8a32b3109145036 SHA1 (patch-uwsgi.h) = 911aa69e7973b92c726fa293748ae6a875b45353 SHA1 (patch-uwsgiconfig.py) = 9d84206e86168465d83eec640bd4b575fc428d43 |