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

Class HTTPThread

akira.py:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261#http caller thread
262class HTTPThread(threading.Thread):
263 def run(self):
264 try:
265 while flag<2:
266 code=httpcall(url)
267 if (code==500) & (safe==1):
268 set_flag(2)
269 except Exception, ex:
270 pass
271
272# monitors http threads and counts requests
273class MonitorThread(threading.Thread):

Callers 1

akira.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected