up2k-srv: add option to reuse file-handles

This commit is contained in:
ed
2021-09-26 03:44:22 +02:00
parent 4a8bf6aebd
commit 0d5ca67f32
7 changed files with 129 additions and 19 deletions

View File

@@ -32,9 +32,11 @@ class HttpConn(object):
self.addr = addr
self.hsrv = hsrv
self.mutex = hsrv.mutex
self.args = hsrv.args
self.asrv = hsrv.asrv
self.cert_path = hsrv.cert_path
self.u2fh = hsrv.u2fh
enth = HAVE_PIL and not self.args.no_thumb
self.thumbcli = ThumbCli(hsrv.broker) if enth else None