aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/primitives.py
blob: 2e440fe8d576fb51dec17636f8966f27ceef9e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.
    """