2018-03-19 10:28:04 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
py-uwsgi: updated to 2.0.17
Changes 2.0.17:
The Emperor throttling subsystem does not make use anymore of blocking \
functions, like usleep(), this should fix stats serving and should improve \
vassals startup time
[Security/PHP] enforce DOCUMENT_ROOT check when using –php-docroot to avoid \
directory traversal
added –shutdown-sockets to improve graceful shutdowns
|
2018-03-17 00:39:54 by Joerg Sonnenberger | Files touched by this commit (3) |
Log message:
Unbreak the option handling. Restore openssl and PCRE option.
|
2018-03-02 17:15:35 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message:
Package the mod_proxy_uwsgi support separately from the main uwsgi
package.
|
2018-03-02 17:14:46 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message:
Package the mod_proxy_uwsgi support separately from the main uwsgi
package.
|
2018-02-13 09:34:03 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-uwsgi: updated to 2.0.16
uWSGI 2.0.16
Security
[CVE-2018-6758] Stack-based buffer overflow in core/utils.c:uwsgi_expand_path()
Changes
Backported early_post_jail plugin hook (Bjørnar Ness)
Fixed ipv6 suupport for http-socket (James Brown)
Enable execinfo on DragonFly BSD (Aaron LI)
Fix inet_ntop buffer size (Orivej Desh)
Add worker running time metrics (Serge/yasek)
Backported safe-pidfile, safe-pidfile2 (Nate Coraor)
Stop using libxml2 by default on osx
Fixed uwsgi_kvlist_parse signature
Backport http range fixes from master (Curtis Maloney, Sokolov Yura)
relicensed mod_proxy_uwsgi to Apache 2.0
logging: Add ${millis} support to json encode
plugins/router_xmldir: fixup invalid locale check (Riccardo Magliocchetti)
Add ssl-verify-depth flag to set the max Client CA chain length (Paul Tagliamonte)
Allow to override build date (Bernhard M. Wiedemann)
Python 3 plugin: improved thread names handling (Jyrki Muukkonen, Mark Meyer)
Added uwsgi_resolve_ip for redis host (ahmbas)
plugins/gevent: Fix signal handlers (Maslov Alexander)
Write x509 DER to the uwsgi buffer (Paul Tagliamonte)
plugin/http: Fix compilation (Melvyn Sopacua)
Fixed emperor throttling system (Jeremy Hiatt)
Fix application loading without Plack after excluding “.” from @INC in new \
Perl versions (Anton Petrusevich)
Fix MULE MSG QUEUE IS FULL message hint (Eugene Tataurov)
Build System: support k_minor has a _xxx suffix (TOGO Li)
Fixed drop-after-* options (Robert DeRose)
Add mule_send_msg success indicator (Josh Tiras)
Properly check item size in uwsgi_queue_push (Josh Tiras)
FastRouter / HTTP Router can now have a ‘fallback’ key configured
HTTP Router now supports post-buffer, just like FastRouter
Fix handling of env in embedded dict in Python plugin (could cause segfaults in \
single thread mode)
Add support for Brotli (.br) with –static-gzip
Back-ported HTTP/1.1 support (–http11-socket) from 2.1
|
2017-07-09 12:44:19 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
PkgSrc clean-ups
|
2017-06-23 17:56:45 by Joerg Sonnenberger | Files touched by this commit (2) |
Log message:
Avoid sys/user.h on NetBSD.
|
2017-04-08 14:04:27 by Adam Ciarcinski | Files touched by this commit (2) |
Log message:
uWSGI 2.0.15
Maintenance release
Issues
Unfortunately there are still 2 unfixed long standing bugs in this release:
* suwsgi protocol behind nginx does not work reliably when a request body is \
sent by the client (https://github.com/unbit/uwsgi/issues/1490). As we cannot \
reproduce it in uWSGI itself, we will start checking in the nginx module too
* There are reports of the âholyâ wsgi env allocator crashing on \
specific conditions, this release includes a bunch of workarounds but they could \
not be enough
Changes
* workaround for the holy allocator for avoiding crashes with newrelic (see \
Issues notes)
* avoid time overflow in request logs during (even minimal) clock skew
* fixed python logger with python3
* fixed catch-exceptions with python3
* backported âdonât clone $env->{âpsgix.ioâ} on \
âPSGI cancelââ
* added support for authentication in the redis logger
* added the spinningfifo action hook to the core
* fixed compilation with php 7.1
* correctly returns error code 22 in lazy_apps + master_mode
* fixed compilation for OpenSSL 1.1
* Add a âskip-atexit-teardown option to skip perl/python teardown
* fixed static file serving over https-socket
|
2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52) |
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \
post-install targets.
|
2016-11-04 22:39:00 by Maya Rashish | Files touched by this commit (7) | |
Log message:
py-uwsgi: update to 2.0.14
2.0.14 changes:
backported gevent-early-monkey-patch (jianbin-wei)
Fixed OpenBSD version check (Pavel Korovin)
PSGI/Perl cache api fixes (Alexander Demenshin)
Correctly decode PATH_INFo in router_rewrite plugin (Ben Hearsum)
add uwsgi.accepting() for chain-reload + worker-override combo (enkore)
fixed workers killing when in cheaper modes (shoham-stratoscale)
added âcgi-safe option (nnnn20430)
Implemented graceful reload for COROAE plugin (aleksey-mashanov)
Added âphp-fallback2, âphp-fallback-qs (Felicity unixwitch)
Added ipv4in and ipv6in routing rules (Felicity unixwitch)
Fixed readline support in python3 when working interactively (Anthony Sottile)
Implement touch-reloading for mules and spoolers (Alexandre Bonnetain)
add request_start timestamp in stats (Ben Plotnick)
Fixed double free in uwsgi_routing_func_rewrite (William Orr)
Various mod_proxy_uwsgi fixes (Ya-Lin Huang)
support for âno-answerâ in PSGI (Anton Petrusevich)
added php-constant option (ÐамÑан \
ÐеоÑгиевÑки [gdamjan])
added the stdio logger (ÐамÑан \
ÐеоÑгиевÑки [gdamjan])
spooler: fix reading inconsistent data (Pavel Patrin)
Removed -WError from the build procedure (Riccardo Magliocchetti, suggested \
by Ian Denhardt)
The usual amount of coverity-based fixes (Riccardo Magliocchetti)
2.0.13.1:
Fixed support for python 2.5 and python 2.6
Fixed support for older glibc
reverted EPOLLEXCLUSIVE patch, requires more investigation
2.0.13:
Fix compilation with GCC 6
Remote rpc fixes (Darvame)
Musl support! (Natanael Copa, Matt Dainty, Riccardo Magliocchetti)
Create the spooler directory if it does not exist (Alexandre Bonnetain)
Fix compilation on big endian linux (Riccardo Magliocchetti)
A ton of cache fixes (Darvame)
Make it easier to compile plugins on a different directory (Jakub Jirutka)
Add wheel package machinery (Matt Robenolt)
Use EPOLLEXCLUSIVE for reading, helps with the thundering herd problem (on \
linux 4.5+) (INADA Naoki)
Fix apache 2.4 integration with unix sockets (Alexandre Rossi)
Add HTTP/2 support to apache 2 proxy (Michael Fladischer, OGAWA Hirofumi)
Fix apache mod proxy compilation with apache 2.4.20 (Mathieu Arnold)
Default to clang as default compiler on MacOS X (Riccardo Magliocchetti)
Added âcgi-close-stdin-on-eof (Roberto De Ioris)
2.0.12:
Bugfixes
ârpcvarâ routing action correctly returns NEXT on empty response
uwsgiconfig: fix handling of empty keys in python3 (Simone Basso)
plugins/alarm_speech: fix AppKit spelling to support case-sensitive \
filesystems (Andrew Janke)
Fix inheriting INET address 0.0.0.0 (INADA Naoki)
core/xmlconf: correctly initialize libxml2 (Riccardo Magliocchetti)
Pass LIBDIR to linker in python plugin (Borys Pierov)
Platforms-related build fixes for pty, forkptyrouter and mono plugins (Jonas \
Smedegaard and Riccardo Magliocchetti)
New Features and Backports
The custom worker api
Finally you are able to override the uWSGI processing model to completely get \
control of it. This is very similar to what you can do in projects like gunicorn \
(and its integration with tornado or gevent). Obviously native plugins are still \
the best approach (they allow integration with uWSGI api and states), but in \
some case you may want to use uWSGI process management facilities and let your \
app do the rest of the work.
Currently only the python plugin supports âoverridingâ of workers, an \
aiohttp (asyncio) example module is available:
https://github.com/unbit/uwsgi-docs/blob/master/WorkerOverride.rst
âwsgi-disable-file-wrapper
This option disables the wsgi.file_wrapper optimization of the WSGI standard. In \
some corner case this is the only trick to avoid errors.
Official PHP 7 support
PHP 7 is now officially supported in the php plugin.
uwsgi.spooler_get_task api (Credits: Alexandre Bonnetain)
This patch allows you to easily parse spooler files.
Check the example/test here:
https://github.com/unbit/uwsgi/blob/master/t/spooler/read.py
âif-hostname-match (Credits: Alexandre Bonnetain)
This options for config logic allows you to define options only when a regexp \
over the hostname matches:
[uwsgi]
if-hostname-match = ^prod
threads = 20
endif =
2.0.11.2:
Bugfixes
OSX 10.11 supports TCP_FASTOPEN
fixed http-socket parser state after harakiri
fixed threaded request logger
fixed fastrouter subscriptions modifiers
fixed alarm backlog
2.0.11.1:
Bugfixes
fixed HTTPS router resource deallocation and fiel descriptors leak
do not spit out ssl errors when errno is 0
New Features
The unix_signal hook
You can now remap UNIX signals to specific functions symbols
2.0.11:
Bugfixes
[pypy] fixed misuse of ffi.string
fixed detection for gcc 5 (jimfunk)
fixed shared sockets for gateways
[psgi] Changed abs to labs because offset is declared as a long (Peter H. Ezetta)
add null terminator to uwsgi_get_dot_h() and uwsgi_config_py() (Jay Oster)
fixed thread waiting during stop/restart (Kaiwen Xu)
fixed chain reloading verbosity
[python] fixed spooler job reference counting (Curtis Maloney)
various static analysis improvements (Riccardo Magliocchetti)
fixed sharedarea support for very big ranges
fixed gzip transformation for zero-sized responses (Curtis Maloney)
fixed management of https client certificate authentication (Vladimir Didenko)
fixed OpenBSD build
fixed TMPFILE permissions
New Features
The mem_collector thread
Evil memory monitors (like âevil-reload-on-rss) are now asynchronously \
managed by a dedicated thread.
This solves the issue of runaway processes not catched by the master.
fixpathinfo routing action
This is another step in removing the need of the infamous uwsgi_modifier1 30 relic.
This routing action assumes the PATH_INFO cgi var has the SCRIPT_NAME part included.
This action allows you to set SCRIPT_NAME in nginx without bothering to rewrite \
the PATH_INFO (something nginx cannot afford)
[uwsgi]
; blindly assumes PATH_INFO is clobbered with SCRIPT_NAME
route-run = fixpathinfo:
uwsgi[sor] and time[micros] routing vars
This two new vars exposes the start of the current request (in micros) and the \
current time (again in micros)
[uwsgi]
route-run = log:request started at ${uwsgi[sor]}
route-run = log:current micros time is ${time[micros]}
wait-for-socket
This works like wait-for-fs/iface/file/dir
The spawn of the instance is suspended until the specified tcp/unix socket is ready.
You can use it to synchronize vassals spawn (like stopping a vassal until a \
postgresql server has been spawned)
wait_for hooks
All of the wait-for-* functions can now be used as a hook:
[uwsgi]
; wait for postgres soon after privileges drop
hook-as-user = wait_for_socket:127.0.0.1:5432
|