cutycat2000x commited on
Commit
2e7f4cb
1 Parent(s): 31a302b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -45,6 +45,7 @@ def handle_request(path=""):
45
  proxied_response.status_code = response.status_code
46
  proxied_response.headers["Content-Type"] = "text/html"
47
  if didReply:
 
48
  decrement_request_count_task(ip)
49
 
50
  return proxied_response
 
45
  proxied_response.status_code = response.status_code
46
  proxied_response.headers["Content-Type"] = "text/html"
47
  if didReply:
48
+ ongoing_requests.remove(ip)
49
  decrement_request_count_task(ip)
50
 
51
  return proxied_response