MCPcopy Create free account
hub / github.com/H1R0GH057/Anonymous / HTTPThread

Class HTTPThread

chihulk.py:3464–3472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3462
3463#http caller thread
3464class HTTPThread(threading.Thread):
3465 def run(self):
3466 try:
3467 while flag<2:
3468 code=httpcall(url)
3469 if (code==500) & (safe==1):
3470 set_flag(2)
3471 except Exception, ex:
3472 pass
3473
3474# monitors http threads and counts requests
3475class MonitorThread(threading.Thread):

Callers 1

chihulk.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected