Commit graph

12 commits

Author SHA1 Message Date
rodent
c0fbbd1aca Fix build for OpenBSD and Bitrig (from sevan@'s report). 2015-04-06 02:35:54 +00:00
rodent
06c904c1d1 Updated to latest release, 2.0.1. From Changelog:
(http://uwsgi-docs.readthedocs.org/en/latest/Changelog-2.0.1.html?highlight=changelog)

Bugfixes and improvements

 * due to a wrong prototype declaration, building uWSGI without SSL resulted in
   a compilation bug. The issue has been fixed.
 * a race condition preventing usage of a massive number of threads in the PyPy
   plugin has been fixed
 * check for heartbeat status only if heartbeat subsystem has been enabled
 * improved heartbeat code to support various corner cases
 * improved psgi.input to support offset in read()
 * fixed (and simplified) perl stacktrace usage
 * fixed sni secured subscription
 * CGI plugin does not require anymore that Status header is the first one
   (Andjelko Horvat)
 * fixed CPython mule_msg_get timeout parsing
 * allows embedding of config files via absolute paths
 * fixed symcall rpc
 * fixed a memory leak in CPython spooler api (xiaost)
 * The -no-orphans hardening has been brought back (currently Linux-only)
 * improved dotsplit router mode to reduce DOS risk
 * sub-Emperor are now loyal by default
 * fixed non-shared ruby 1.8.7 support
 * fixed harakiri CPython tracebacker
 * request vars are now correctly exposed by the stats server
 * support log-master for logfile-chown
 * improved legion reload
 * fixed tuntap netmask
 * fixed busyness plugin without metrics subsystem

New features

* uWSGI 2.0 is a LTS branch, so do not expect too much new features. 2.0.1 is
  the first maintainance release, so you still get a bunch of them (mainly
  features not complete in 2.0)
* Perl native Spooler support
* -alarm-backlog
* -close-on-exec2
* simple notifications subsystem
* pid namespace for daemons (Linux only)
* Resubscriptions
* filesystem monitor api
* support for yajl 1.0
* for-readline
* %i and %j magic vars
* -inject-before and -inject-after
* -http-server-name-as-http-host
* better Emperor's Ragnarok (shutdown procedure)
* PyPy paste support
2014-02-17 01:01:12 +00:00
wiz
afd77c5885 Update to 2.0 (python-3.x compatible) based on the wip package by othyro.
Changes:
uWSGI 2.0

Changelog [20131230] Important changes

Dynamic options have been definitely removed as well as the
broken_plugins directory Bugfixes and improvements

    improved log rotation do not rely on unix signals to print
    request status during harakiri added magic vars for uid and
    gid various Lua fixes a tons of coverity-governed bugfixes made
    by Riccardo Magliocchetti

New features --attach-daemon2

this is a keyval based option for configuring external daemons.

Updated docs are: :doc:`AttachingDaemons` Linux setns() support

One of the biggest improvements in uWSGI 1.9-2.0 has been the total
support for Linux namespaces.

This last patch adds support for the setns() syscall.

This syscall allows a process to "attach" to a running namespace.

uWSGI instances can exposes their namespaces file descriptors
(basically they are the files in /proc/self/ns) via a unix socket.

External instances connects to that unix socket and automatically
enters the mapped namespace.

to spawn an instance in "namespace server mode", you use the
--setns-socket <addr> option

uwsgi --setns-socket /var/run/ns.socket --unshare net,ipc,uts ...

to attach you simply use --setns <addr>

uwsgi --setns /var/run/ns.socket ...

Updated docs: :doc:`Namespaces` "private" hooks

When uWSGI runs your hooks, it verbosely print the whole hook action
line. This could be a security problem in some scenario (for example
when you run initial phases as root user but allows unprivileged
access to logs).

Prefixing your action with a '!' will suppress full logging:

[uwsgi] hook-asap = !exec:my_secret_command

Support for yajl library (JSON parser)

Til now uWSGI only supported jansson as the json parser required
for managing .js config files.

You can now use the yajl library (available in centos) as alternative
JSON parser (will be automatically detected) Perl spooler support

The perl/PSGI plugin can now be used as a spooler server:

uwsgi::spooler(sub {
     my $args = shift; print Dumper($args); return -2; });

The client part is still missing as we need to fix some internal
api problem.

Expect it in 2.0.1 ;) Gateways can drop privileges

Gateways (like http router, sslrouter, rawrouter, forkptyrouter
...) can now drop privileges independently by the master.

Currently only the http/https/spdy router exposes the new option
(--http-uid/--http-gid) Subscriptions-governed SNI contexts

The subscription subsystem now supports 3 additional keys (you can
set them with the --subscribe2 option):

sni_key

sni_cert

sni_ca

all of the takes a path to the relevant ssl files.
2014-01-23 14:47:05 +00:00
rodent
4d331a9aae Fix patch header. 2014-01-05 03:46:11 +00:00
rodent
cdcf0e07f5 Update to 1.4.10, the oldest version supported by upstream. See py-uwsgi in
-wip for the newest supported version. Partial ChangeLog:

 * 1.4.1

- fixed typos in corerouter plugins
- fixed offloading when the number of threads is higher than 1
- fixed static_maps for non-existent paths
- fixed uwsgi_connect() on modern Linux systems to reset the socket to blocking mode

 * 1.4

- gevent improvements
- improved http/https router and fastrouter
- Go official support
- a new set of infos are exported to the stats system
- improved systemd support
- log filtering and routing
- improved tracebacker
- offload transfer for static files, and network transfers
- matheval support
- plugins can be written in Obj-C
- smart attach daemon
- added support for PEP 405 virtualenvs
- rawrouter with xclient support
- internal routing plugin for cache

 * 1.3

- python tracebacker
- user-governed harakiri
- simplified external plugin development
- Linux namespace mountpoint improvements
- secured subscription system
- merged routers codebase (fastrouter, http, rawrouter)
- https support in the http router
- config report at the end of uWSGI build process
- improved subscription system (multicast and unix socket)
- custom options
- graceful reloads on shared sockets
- configurable log-master buffer size
- extreme-optimizations for the stats subsystem
- redislog and mongodblog plugins
- added python logger
- mongodb and postgres imperial monitors
- implemented psgix.logger and psgix.cleanup
- full rack spec compliance
- preliminary ipv6 support
- gevent graceful reloads
- support for multiple loggers and logformat
- lazy-apps to load apps after fork() but without changing reloading subsystem
- emperor heartbeat subsystem
- cheaper busyness plugin
- pluggable clock sources
- added router_rewrite and router_http plugins
- external spoolers
- support for section:// and fd:// loaders
- alarm subsystem (with curl and xmpp plugins)
2014-01-04 13:56:01 +00:00
roy
cf98168fea Update to uwsgi-1.2.4
Changes include:
Posix semaphore support for FreeBSD and NetBSD.
Improved syslog support.
Linux KSM and unshare support.
Threading improvements.
2012-07-12 16:21:53 +00:00
marino
e919e8dd08 PR#45840 www/py-uwsgi: Fix DragonFly Port 2012-05-15 12:56:38 +00:00
sbd
4f25629fbf Disable automatic detection of any library's that do not have there
buildlink3.mk included.

Bump PKGREVISION
2012-01-09 07:08:25 +00:00
sbd
fc787ce47c Revert the below commit:
Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Sun Jan  8 04:06:35 UTC 2012

   Modified Files:
	   pkgsrc/www/py-uwsgi: Makefile distinfo
   Added Files:
	   pkgsrc/www/py-uwsgi/patches: patch-uwsgiconfig.py

   Log Message:
   Add missing devel/libuuid buildlink.

   Bump PKGREVISION


   To generate a diff of this commit:
   cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-uwsgi/Makefile
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-uwsgi/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-uwsgi/patches/patch-uwsgiconfig.py
2012-01-09 07:07:10 +00:00
sbd
38d4ca739c Add missing devel/libuuid buildlink.
Bump PKGREVISION
2012-01-08 04:06:34 +00:00
joerg
7391384b56 Update to uwsgi-2.8.3:
- Various bugfixes and improvements
2011-07-25 10:15:00 +00:00
adam
f7eb462418 Changes 0.9.7.2:
* new option --touch-reload <file> to reload the stack on <file> modification
*  --static-map <mountpoint=documentroot> allows to serve static files
* fixed --post-limit management
* disallow empty socket names
* implemented exception_info WSGI support
* new options --reload-on-as <n> and --reload-on-rss <n> allows
  to recycle workers when their memory usage is higher than <n> MB
* fixed syslog support (use --log-syslog[=facility] to enable it)
* improved plugin loading system
* added support for RabbitMQ as event dispatcher for the Emperor
* fixed FreeBSD memory report
* PSGI plugin can be compiled without ithreads
* various Emperor fixes
* fixed a regression with setgroups()
* support for shared sockets (used in jails within network namespaces)
2011-04-08 12:26:29 +00:00