Changelog [20140601]
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.
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.
this new option, completely disables the blacklisting Emperor subsystem
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.
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.
This exit code (15) can be raised by a worker to tell the master to not respawn it
The option --http-enable-proxy-protocol allows the HTTP router to understand PROXY1 protocol requests (like the ones made by haproxy or amazon elb)
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)
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
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
uWSGI 2.0.5 has been released on [20140601] and can be downloaded from: