MCPcopy
hub / github.com/mitmproxy/mitmproxy / run

Method run

mitmproxy/platform/windows.py:285–295  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

283 super().start()
284
285 def run(self):
286 while True:
287 try:
288 packet = self.windivert.recv()
289 except OSError as e:
290 if getattr(e, "winerror", None) == 995:
291 return
292 else:
293 raise
294 else:
295 self.handle(packet)
296
297 def shutdown(self):
298 self.windivert.close()

Callers 2

mainFunction · 0.45
runFunction · 0.45

Calls 2

recvMethod · 0.80
handleMethod · 0.45

Tested by

no test coverage detected