pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-websockets



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 18 10:46:26 UTC 2018

Modified Files:
        pkgsrc/www/py-websockets: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-websockets/Makefile \
    pkgsrc/www/py-websockets/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-websockets/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-websockets/Makefile
diff -u pkgsrc/www/py-websockets/Makefile:1.4 pkgsrc/www/py-websockets/Makefile:1.5
--- pkgsrc/www/py-websockets/Makefile:1.4       Fri Nov  3 11:17:21 2017
+++ pkgsrc/www/py-websockets/Makefile   Mon Jun 18 10:46:26 2018
@@ -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/}
Index: pkgsrc/www/py-websockets/PLIST
diff -u pkgsrc/www/py-websockets/PLIST:1.4 pkgsrc/www/py-websockets/PLIST:1.5
--- pkgsrc/www/py-websockets/PLIST:1.4  Fri Nov  3 11:17:21 2017
+++ pkgsrc/www/py-websockets/PLIST      Mon Jun 18 10:46:26 2018
@@ -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

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.3 pkgsrc/www/py-websockets/distinfo:1.4
--- pkgsrc/www/py-websockets/distinfo:1.3       Fri Nov  3 11:17:21 2017
+++ pkgsrc/www/py-websockets/distinfo   Mon Jun 18 10:46:26 2018
@@ -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



Home | Main Index | Thread Index | Old Index