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

Class HTTPThread

m60.py:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134#http caller thread
135class HTTPThread(threading.Thread):
136 def run(self):
137 try:
138 while flag<2:
139 code=httpcall(url)
140 if (code==500) & (safe==1):
141 set_flag(2)
142 except Exception, ex:
143 pass
144
145# monitors http threads and counts requests
146class MonitorThread(threading.Thread):

Callers 1

m60.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected