return env
if reqlimit != 0:
- guard = ashd.serve.calllimiter(reqlimit).call
+ guard = ashd.serve.abortlimiter(reqlimit).call
else:
guard = lambda fun: fun()
class reqthread(ashd.serve.wsgithread):
def __init__(self, req):
- super().__init__(name = "Request handler")
+ super().__init__()
self.req = req.dup()
def handlewsgi(self):