mirror of
https://github.com/9001/copyparty.git
synced 2026-04-02 03:00:05 -04:00
login, vol.tree, refactor
This commit is contained in:
@@ -42,7 +42,9 @@ class HttpSrv(object):
|
||||
def thr_client(self, sck, addr, log):
|
||||
"""thread managing one tcp client"""
|
||||
try:
|
||||
cli = HttpCli(sck, addr, self.args, log)
|
||||
# TODO HttpConn between HttpSrv and HttpCli
|
||||
# to ensure no state is kept between http requests
|
||||
cli = HttpCli(sck, addr, self.args, self.auth, log)
|
||||
with self.mutex:
|
||||
self.clients[cli] = 0
|
||||
self.workload += 50
|
||||
|
||||
Reference in New Issue
Block a user