pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-waitress py-waitress: updated to 1.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/976060e4c8cf
branches: trunk
changeset: 335977:976060e4c8cf
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jul 03 20:36:51 2019 +0000
description:
py-waitress: updated to 1.3.0
1.3.0:
Deprecations
- The send_bytes adjustment now defaults to 1 and is deprecated
pending removal in a future release.
Features
- Add a new outbuf_high_watermark adjustment which is used to apply
backpressure on the app_iter to avoid letting it spin faster than data
can be written to the socket. This stabilizes responses that iterate quickly
with a lot of data.
- Stop early and close the app_iter when attempting to write to a closed
socket due to a client disconnect. This should notify a long-lived streaming
response when a client hangs up.
- Adjust the flush to output SO_SNDBUF bytes instead of whatever was
set in the send_bytes adjustment. send_bytes now only controls how
much waitress will buffer internally before flushing to the kernel, whereas
previously it used to also throttle how much data was sent to the kernel.
This change enables a streaming app_iter containing small chunks to
still be flushed efficiently.
Bugfixes
- Upon receiving a request that does not include HTTP/1.0 or HTTP/1.1 we will
no longer set the version to the string value "None". See
- When a client closes a socket unexpectedly there was potential for memory
leaks in which data was written to the buffers after they were closed,
causing them to reopen.
- Fix the queue depth warnings to only show when all threads are busy.
- Trigger the app_iter to close as part of shutdown. This will only be
noticeable for users of the internal server api. In more typical operations
the server will die before benefiting from these changes.
- Fix a bug in which a streaming app_iter may never cleanup data that has
already been sent. This would cause buffers in waitress to grow without
bounds. These buffers now properly rotate and release their data.
- Fix a bug in which non-seekable subclasses of io.IOBase would trigger
an exception when passed to the wsgi.file_wrapper callback.
diffstat:
www/py-waitress/Makefile | 4 ++--
www/py-waitress/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 4318115a69a2 -r 976060e4c8cf www/py-waitress/Makefile
--- a/www/py-waitress/Makefile Wed Jul 03 20:29:54 2019 +0000
+++ b/www/py-waitress/Makefile Wed Jul 03 20:36:51 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2019/01/29 14:30:03 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/07/03 20:36:51 adam Exp $
-DISTNAME= waitress-1.2.1
+DISTNAME= waitress-1.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/waitress/}
diff -r 4318115a69a2 -r 976060e4c8cf www/py-waitress/distinfo
--- a/www/py-waitress/distinfo Wed Jul 03 20:29:54 2019 +0000
+++ b/www/py-waitress/distinfo Wed Jul 03 20:36:51 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2019/01/29 14:30:03 adam Exp $
+$NetBSD: distinfo,v 1.7 2019/07/03 20:36:51 adam Exp $
-SHA1 (waitress-1.2.1.tar.gz) = a51df67a6755cb37e5a7ba88b9c52c299dd22dd4
-RMD160 (waitress-1.2.1.tar.gz) = 890dd9a44e133b770591fcb25eb396ac57f3762d
-SHA512 (waitress-1.2.1.tar.gz) = 6c06fb799aa277a5e53fc085de3e284c558327f3df7fd2f06771e87f741bdf911a8e0ed2f13f7aa115ab13d4364da27b54984592db6ce3a4326723a7d4c7f7c3
-Size (waitress-1.2.1.tar.gz) = 162588 bytes
+SHA1 (waitress-1.3.0.tar.gz) = 341804d677b86afd4697985dbc12f57399b4729e
+RMD160 (waitress-1.3.0.tar.gz) = df56a1a76386aca7b679ecff1d6592b392756d97
+SHA512 (waitress-1.3.0.tar.gz) = 387196b24e9fbf39460d1dda942c235e3eac11c8083489a8055364f72dd4aa9e995a87f51394c1bbcbda634d922a5a4fdf1c9651f8e9d6c8c60704c7eab029cd
+Size (waitress-1.3.0.tar.gz) = 163874 bytes
Home |
Main Index |
Thread Index |
Old Index