mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 05:23:10 -07:00
v1.20.7
This commit is contained in:
parent
914f84ce5e
commit
e1c22eaf0e
|
|
@ -1,8 +1,8 @@
|
|||
# coding: utf-8
|
||||
|
||||
VERSION = (1, 20, 6)
|
||||
VERSION = (1, 20, 7)
|
||||
CODENAME = "sftp is fine too"
|
||||
BUILD_DT = (2026, 1, 31)
|
||||
BUILD_DT = (2026, 2, 14)
|
||||
|
||||
S_VERSION = ".".join(map(str, VERSION))
|
||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||
|
|
|
|||
|
|
@ -805,6 +805,10 @@ class Sftpd(object):
|
|||
self.bound.append(ip)
|
||||
except Exception as ex:
|
||||
if ip == "0.0.0.0" and "::" in self.bound:
|
||||
try:
|
||||
srv.close() # type: ignore
|
||||
except:
|
||||
pass
|
||||
return # dualstack
|
||||
self.log("could not listen on (%s,%s): %r" % (ip, port, ex), 3)
|
||||
|
||||
|
|
|
|||
|
|
@ -2978,6 +2978,8 @@ def shut_socket(log: "NamedLogger", sck: socket.socket, timeout: int = 3) -> Non
|
|||
sck.shutdown(socket.SHUT_RDWR)
|
||||
except:
|
||||
pass
|
||||
except OSError as ex:
|
||||
log("shut(%d): ok; client has already disconnected; %s" % (fd, ex.errno), "90")
|
||||
except Exception as ex:
|
||||
log("shut({}): {}".format(fd, ex), "90")
|
||||
finally:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,17 @@
|
|||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||
# 2026-0131-2001 `v1.20.6` one safeguard too many
|
||||
|
||||
## 🧪 new features
|
||||
|
||||
* #1264 now possible to grant the `get` permission when creating a share 95b827f1
|
||||
* the button was already there, but until now it did nothing
|
||||
|
||||
## 🩹 bugfixes
|
||||
|
||||
* a safeguard (24141b49) added in [v1.20.5](https://github.com/9001/copyparty/releases/tag/v1.20.5) was too strict and would block requests from certain reverseproxies, specifically anything that adds `X-Forwarded-HTTP-Version` 72224d29
|
||||
|
||||
|
||||
|
||||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||
# 2026-0130-2145 `v1.20.5` fast again
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: Jython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -109,6 +109,7 @@ args = {
|
|||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: Jython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
|
|
|
|||
Loading…
Reference in a new issue