summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-06-18 10:46:26 +0000
committeradam <adam@pkgsrc.org>2018-06-18 10:46:26 +0000
commit556cc93c623d5856fefc51258b29bfe0dc01d874 (patch)
tree0b29fc88e4661828b94916950c75da15bdeeeb22 /www
parente490bb3e7462836509c7b61754ce47efde565d87 (diff)
downloadpkgsrc-556cc93c623d5856fefc51258b29bfe0dc01d874.tar.gz
py-websockets: updated to 5.0.1
5.0.1 Version 5.0 fixes a security issue introduced in version 4.0. websockets 4.0 was vulnerable to denial of service by memory exhaustion because it didn't enforce max_size when decompressing compressed messages. Also: :func:~client.connect() performs HTTP Basic Auth when the URI contains credentials. Iterating on incoming messages no longer raises an exception when the connection terminates with code 1001 (going away). A plain HTTP request now receives a 426 Upgrade Required response and doesn't log a stack trace. :func:~server.unix_serve can be used as an asynchronous context manager on Python ≥ 3.5.1. Added :meth:~protocol.WebSocketCommonProtocol.closed property. If a :meth:~protocol.WebSocketCommonProtocol.ping doesn't receive a pong, it's cancelled when the connection is closed. Reported the cause of :exc:~exceptions.ConnectionClosed exceptions. Added new examples in the documentation. Updated documentation with new features from Python 3.6. Improved several other sections of the documentation. Fixed missing close code, which caused :exc:TypeError on connection close. Fixed a race condition in the closing handshake that raised :exc:~exceptions.InvalidState. Stopped logging stack traces when the TCP connection dies prematurely. Prevented writing to a closing TCP connection during unclean shutdowns. Made connection termination more robust to network congestion. Prevented processing of incoming frames after failing the connection.
Diffstat (limited to 'www')
-rw-r--r--www/py-websockets/Makefile4
-rw-r--r--www/py-websockets/PLIST3
-rw-r--r--www/py-websockets/distinfo10
3 files changed, 9 insertions, 8 deletions
diff --git a/www/py-websockets/Makefile b/www/py-websockets/Makefile
index 5adb25f65bc..b7040f34eb5 100644
--- a/www/py-websockets/Makefile
+++ b/www/py-websockets/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/11/03 11:17:21 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/06/18 10:46:26 adam Exp $
-DISTNAME= websockets-4.0.1
+DISTNAME= websockets-5.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/}
diff --git a/www/py-websockets/PLIST b/www/py-websockets/PLIST
index b8c8e2e7177..9eb0254b3b1 100644
--- a/www/py-websockets/PLIST
+++ b/www/py-websockets/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2017/11/03 11:17:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/06/18 10:46:26 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/websockets/__init__.py
${PYSITELIB}/websockets/__init__.pyc
${PYSITELIB}/websockets/__init__.pyo
diff --git a/www/py-websockets/distinfo b/www/py-websockets/distinfo
index 6211ed990f3..fc32330e556 100644
--- a/www/py-websockets/distinfo
+++ b/www/py-websockets/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/11/03 11:17:21 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/06/18 10:46:26 adam Exp $
-SHA1 (websockets-4.0.1.tar.gz) = 9118f0468bf3df933735ffdff5fa5f866abf16d5
-RMD160 (websockets-4.0.1.tar.gz) = 7a89af5de4eae356997a09b54cddfd25f9f83567
-SHA512 (websockets-4.0.1.tar.gz) = a60a453f33f1005c7ec7cee10f6ba6cca18628306de51872ad5a910f12f39831049f3a67ff4c3cc62efce47ce030b9e9d075d4418e8da2dcc594b8824ce21dfb
-Size (websockets-4.0.1.tar.gz) = 61839 bytes
+SHA1 (websockets-5.0.1.tar.gz) = d47b2453b268b38d3d9d216430a241b694ef2ec9
+RMD160 (websockets-5.0.1.tar.gz) = 3bb5e0fc3fc18106b1c8d1f4e3c54630c66bea5b
+SHA512 (websockets-5.0.1.tar.gz) = 66cb4590721afabb480f823f14c19390702350c8bca50ee44f30b8a1a17e813657b85a25081b55390b27c9c390fdefa23f0b19ba09e9d3ed6511a04f0f908f32
+Size (websockets-5.0.1.tar.gz) = 68494 bytes