forked from pool/python-smbprotocol
Accepting request 881292 from home:mnhauke
- Update to version 1.5.0 * Added smbprotocol.exceptions.SMBConnectionClosed that is raised when trying to send or receive data on a connection that has been closed. * Added smbprotocol.exceptions.WrongPassword that is raised when some servers indicate the password is not correct or the account is locked out. * Do not attempt to reuse any cached connections that have been closed in smbclient * Added a lock when writing to the socket, only 1 thread can write a message at a single point in time * Revamped the SMB receiver code to simplify the logic and make it more durable + Removed the TCP recv thread for each connection, now each connection uses just 1 thread instead of 2. + Be more defensive when reading data from a socket to ensure we get all the data we require. + Handled server side FIN packets that close the connection unexpectedly, any requests waiting for a response will raise SMBConnectionClosed. OBS-URL: https://build.opensuse.org/request/show/881292 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=20
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-smbprotocol
|
||||
Version: 1.4.0
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: SMBv2/v3 client for Python 2 and 3
|
||||
License: MIT
|
||||
|
Reference in New Issue
Block a user