mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
15 lines
265 B
Python
15 lines
265 B
Python
from __future__ import absolute_import
|
|
import collections
|
|
from netlib import socks, tcp
|
|
|
|
|
|
class Log(object):
|
|
def __init__(self, msg, level="info"):
|
|
self.msg = msg
|
|
self.level = level
|
|
|
|
|
|
class Kill(Exception):
|
|
"""
|
|
Kill a connection.
|
|
""" |