mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
nevermind, not reliable when rproxied
This commit is contained in:
parent
b50d090946
commit
0a1d9b4dfd
|
@ -245,11 +245,8 @@ class HttpCli(object):
|
|||
self.dvol = self.asrv.vfs.adel[self.uname]
|
||||
self.gvol = self.asrv.vfs.aget[self.uname]
|
||||
|
||||
# resend auth cookie if more than 1/3 of the lifetime has passed
|
||||
# (rate-limited to prevent thrashing browser state, not for performance)
|
||||
if pwd and self.conn.pwd_cookie_upd < self.t0 - 20 * 60 * self.args.logout:
|
||||
if pwd:
|
||||
self.out_headerlist.append(("Set-Cookie", self.get_pwd_cookie(pwd)[0]))
|
||||
self.conn.pwd_cookie_upd = self.t0
|
||||
|
||||
if self.is_rclone:
|
||||
uparam["raw"] = False
|
||||
|
|
|
@ -46,7 +46,6 @@ class HttpConn(object):
|
|||
self.stopping = False
|
||||
self.nreq = 0
|
||||
self.nbyte = 0
|
||||
self.pwd_cookie_upd = 0
|
||||
self.u2idx = None
|
||||
self.log_func = hsrv.log
|
||||
self.lf_url = re.compile(self.args.lf_url) if self.args.lf_url else None
|
||||
|
|
Loading…
Reference in a new issue