The first maintainance release of uWSGI 1.2 is available

Changelog [20100510]

* an installer script is now available:

curl http://uwsgi.it/install | bash -s <profile> <path>

if you want to build a perl-only binary in /tmp/foobar use

curl http://uwsgi.it/install | bash -s psgi /tmp/foobar

* fully WSGI-compliant start_response()

Older start_response() function did not support being called multiple times.
In addition to this it did not delay headers sending as required by spec.
The new implementation fixes both issues.

Old (wrong) behaviour, can be triggered with --start_response-nodelay

* fixed streaming in mod_uwsgi

New mod_uwsgi version supports unbuffered output (it is automatically
enabled)

* new mod_proxy_uwsgi for apache2

A preliminary mod-proxy-like module for uwsgi protocol has been added.
It is still beta-quality, use it only in non-production environment.

A simple load balancing setup with 3 nodes would look like that:

<Proxy balancer://test>
        BalancerMember uwsgi://192.168.0.1:3031
        BalancerMember uwsgi://192.168.0.2:3031
        BalancerMember uwsgi://192.168.0.3:3031
</Proxy>

<Location />
        ProxyPass balancer://test
</Location>

* added fallback for pthread robust mutexes

On some system, a kernel/glibc mismatch could force a robust mutexes setup
while the kernel does not support them. The patch allows falling back to
standard pthread mutexes.

* tolerate php wrong sign-compare

php has a bunch of wrong headers. The uWSGI php plugin will now be
compiled without checks for those specific errors.


* fixed optional short options management

command line arguments with optional value (like --chmod/-C) can now
correctly used with the short version (like -C)

* fixed static file offloading

a NULL char was missing in previous implementation

* --exec-as-user-atexit (by Łukasz Mierzwa)

You can now specify an unlimited number of script/commands to run at
server exit

* added --disable-write-exception

IOError exception on disconnected clients was a feature requested by a lot
of users. Now, other users do not want it :) You can disable it with
--disable-write-exception

* added interpolation support in build profile

build profiles can now refer to previous defined options

* allows embedding the psgi plugin

on some platform building the psgi plugin directly in the server core was
not supported. uWSGI 1.2.1 fixes that.

* fixed cheaper management during suspend/resume (by Marcin Deranek)

The patch disable cheaper algos while the server is suspended

* The redis logger

A logger plugin for redis has been added. By default it will connect
to a local running instance and will publish logs in the 'uwsgi' channel.

The syntax is:

redislog:<host>,<command>,<prefix>

Example:

redislog:/tmp/redis.sock,rpush foo,example.com

will connect to /tmp/redis.sock, and will push logs line (prefixed with
example.com) in the "foo" list.

redislog:192.168.0.3:6379,publish uwsgi2

will publish loglines in the uwsgi2 channel of the redis server
192.168.0.3:6379 (without prefixes)

* added UWSGI_BIN_NAME support

you can directly install the uwsgi binary in a specific path (without
editing build profiles) defining the UWSGI_BIN_NAME environment variable.

UWSGI_BIN_NAME=/usr/bin/uwsgi-server make


You can download uWSGI 1.2.1 from

http://projects.unbit.it/downloads/uwsgi-1.2.1.tar.gz

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to