summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrodent <rodent>2014-06-15 05:19:57 +0000
committerrodent <rodent>2014-06-15 05:19:57 +0000
commit8013511a19300d138723a54b9a12ee9551d4c06c (patch)
tree7efbdbd318876d430def236fc2e6194ca7b2ab37 /www
parentb9816dbd48f61e54cbaa48381cce277f6d66f8ad (diff)
downloadpkgsrc-8013511a19300d138723a54b9a12ee9551d4c06c.tar.gz
2.0.5
Bugfixes fixed support for repeated headers in lua plugin fixed support for embedding config in OpenBSD and NetBSD various fixes in the curl-based plugins fixed milliseconds-based waits fixed sharedarea poller fixed stats server json escaper fixed fastcgi parser and implemented eof management improved fast on-demand mode exclude avg_rt computation for static files fixed variables support in uwsgi internal router fixed websockets + keepalive ordering disable SIGPIPE management in corutines-based loop-engines fixed 64bit sharedarea management in 32bit systems honour chmod/chown-socket in fd0 mode hack for avoiding Safari iOS to make mess with keepalive fixed log setup when both --logto and --log2 fixed mule_get_msg EAGAIN signal_pidfile returns the right error code fixed asyncio on OSX New features graceful reload of mule processes SIGHUP is now sent to mules instead of directly killing them. You are free to trap/catch the signal in the code. If a mule does not die in the allowed "mercy time" (--mule-reload-mercy, default 60 seconds), SIGKILL will be sent. return routing action The new action will allow users to write simplified "break" clause. For example, "return:403" is equivalent to "break:403 Forbidden", with response body "Forbidden". The response body is quite useful for telling end users what goes wrong. --emperor-no-blacklist this new option, completely disables the blacklisting Emperor subsystem Icecast2 protocol helpers One of the upcoming unbit.com projects is a uWSGI based audio/video streaming server. The plugin (should be released during europython 2014) already supports the Icecast2 protocol. A bunch of patches have been added to the http router to support the icecast2 protocol. For example the --http-manage-source option allows the HTTP router to honour SOURCE method requests, automatically placing them in raw mode. --metrics-no-cores, --stats-no-cores, --stats-no-metrics When you have hundreds (or thousands) of async cores, exposing metrics of them could be really slow. Three new options have been added allowing you to disable the generation of core-related metrics and (eventually) their usage in the stats server. sharedarea improvements The sharedarea api continues to improve. Latest patches include support for mmapping device directly from the command line. A funny way for testing it, is mapping the raspberrypi BCM2835 memory, the following example allows you to read the rpi system timer uwsgi --sharedarea file=/dev/mem,offset=0x20003000,size=4096 ... now you can read the 64bit value from the first (zero-based) sharedarea: # read 64bit from 0x20003004 timer = uwsgi.sharedarea_read64(0, 0x04) obviously, pay attention when accessing rpi memory, an error could crash the whole system !!! UWSGI_GO_CHEAP_CODE This exit code (15) can be raised by a worker to tell the master to not respawn it PROXY1 support for the http router The option --http-enable-proxy-protocol allows the HTTP router to understand PROXY1 protocol requests (like the ones made by haproxy or amazon elb) reset_after_push for metrics This metric attribute ensure that the matric value is reset to 0 (or its hardcoded initial_value) evry time the metric is pushed to some external system (like carbon, or statsd) setremoteaddr This routing action allows you to completely override the REMOTE_ADDR detected by protocol handlers: [uwsgi] ; treat all requests as local route-run = setremoteaddr:127.0.0.1 the resolve option There are uWSGI options (or plugins) that do not automatically resolves dns name to ip addresses. This option allows you to map a placeholder to the dns resolution of a string: [uwsgi] ; place the dns resolution of 'example.com' in the 'myserver' placeholder resolve = myserver=example.com subscribe2 = server=%(myserver),key=foobar
Diffstat (limited to 'www')
-rw-r--r--www/py-uwsgi/Makefile4
-rw-r--r--www/py-uwsgi/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile
index 3ba77e3e223..f84601d79b1 100644
--- a/www/py-uwsgi/Makefile
+++ b/www/py-uwsgi/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2014/04/24 00:18:52 rodent Exp $
+# $NetBSD: Makefile,v 1.25 2014/06/15 05:19:57 rodent Exp $
-DISTNAME= uwsgi-2.0.4
+DISTNAME= uwsgi-2.0.5.1
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 68d03246917..40fc229cc5a 100644
--- a/www/py-uwsgi/distinfo
+++ b/www/py-uwsgi/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.18 2014/04/24 00:18:52 rodent Exp $
+$NetBSD: distinfo,v 1.19 2014/06/15 05:19:57 rodent Exp $
-SHA1 (uwsgi-2.0.4.tar.gz) = 7fd53e8df78432605a7b423e703c17e18fed4b66
-RMD160 (uwsgi-2.0.4.tar.gz) = e5ccfc22aa4814bb464f5d46d85c774efdc9683c
-Size (uwsgi-2.0.4.tar.gz) = 765555 bytes
+SHA1 (uwsgi-2.0.5.1.tar.gz) = 67244683a76a7ce88f244ef8044ecf32bf3b8d41
+RMD160 (uwsgi-2.0.5.1.tar.gz) = 31c5a75f80a0519120ca59bc614269dfecd962c1
+Size (uwsgi-2.0.5.1.tar.gz) = 770256 bytes
SHA1 (patch-base.ini) = f1b61f8323a7be92ebae5c87b8a32b3109145036
SHA1 (patch-uwsgi.h) = 911aa69e7973b92c726fa293748ae6a875b45353
SHA1 (patch-uwsgiconfig.py) = 9d84206e86168465d83eec640bd4b575fc428d43