Bugfix in client cleanup
This commit is contained in:
parent
77db628903
commit
020af11d1a
@ -563,7 +563,9 @@ class WebRXHandler(BaseHTTPRequestHandler):
|
|||||||
if extension == "wrx" and ( (not anyStringsPresentInUserAgent(("Chrome","Firefox","Googlebot","iPhone","iPad","iPod"))) if 'user-agent' in self.headers.keys() else True ) and (not request_param.count("unsupported")):
|
if extension == "wrx" and ( (not anyStringsPresentInUserAgent(("Chrome","Firefox","Googlebot","iPhone","iPad","iPod"))) if 'user-agent' in self.headers.keys() else True ) and (not request_param.count("unsupported")):
|
||||||
self.send_302("upgrade.html")
|
self.send_302("upgrade.html")
|
||||||
return
|
return
|
||||||
if extension == "wrx" and cfg.max_clients<=len(clients):
|
if extension == "wrx":
|
||||||
|
cleanup_clients(False)
|
||||||
|
if cfg.max_clients<=len(clients):
|
||||||
self.send_302("retry.html")
|
self.send_302("retry.html")
|
||||||
return
|
return
|
||||||
self.send_response(200)
|
self.send_response(200)
|
||||||
|
Loading…
Reference in New Issue
Block a user