diff --git a/Pipfile b/Pipfile index dc3addf..bc47570 100644 --- a/Pipfile +++ b/Pipfile @@ -10,7 +10,6 @@ flake8 = "*" isort = "*" [packages] -uvloop = "*" [requires] python_version = "3.7" diff --git a/Pipfile.lock b/Pipfile.lock index ca25602..080bc30 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "6535c8f55f4d68ba6bdb12d214b44ef5958c2b8bc03f2e6f0c318dd261aa50ef" + "sha256": "fdb3f94d9d4b863dadf559dd228b8642f35afed4fa20923eb2cb79611d494f33" }, "pipfile-spec": 6, "requires": { @@ -15,24 +15,7 @@ } ] }, - "default": { - "uvloop": { - "hashes": [ - "sha256:0e4ed2bd0e207bc284c3dfe3aafc9e9c96184f78a0f4881f8d5f9ed82eb08ef4", - "sha256:145931364fa88c9be5e7960729678677ea8d205ceebff3fbf0751e3463907f10", - "sha256:347785a64715f5aa361e01d9414be78c61218fc96fe137d554831c555c3bfe15", - "sha256:40b11baef9d36d92a786ab87c59164df8ca49945b0eb6bfcbdd3985c86864d39", - "sha256:63b6d876f5b7c1f1e1a31b950bb6eabab9b2490c0ba6df06ecaa86c7dac2dbe6", - "sha256:85a63f5b485c756b0390800579b4f22cb3a279795bf52e7698942980fb993793", - "sha256:85ce7aed6481f078c4157e7049bc02b13abdaa3f1adc814e234b6262fab3c808", - "sha256:975a0b29dfd378493b8be47a0599ea9f284ca9e39b4532ab280beaf7cf50d00f", - "sha256:dfe83e6bb90892b0c2440b8e425f83b31c9f23195dd189bd59b2fb3fb12a7080", - "sha256:ea97302d8fa9d7b6fb1dd079774edcc581ebd8561e5ea71e1fd95c803904d38a" - ], - "index": "pypi", - "version": "==0.12.0rc1" - } - }, + "default": {}, "develop": { "appdirs": { "hashes": [ diff --git a/tcp_nat_proxy.py b/tcp_nat_proxy.py index e025b75..cd25ada 100644 --- a/tcp_nat_proxy.py +++ b/tcp_nat_proxy.py @@ -2,12 +2,8 @@ import argparse import asyncio from collections import namedtuple -import uvloop - Route = namedtuple("Route", ["listen_port", "destination_host", "destination_port"]) -uvloop.install() - BUFFER_SIZE = 4096