Update trio_http_proxy.py

This commit is contained in:
√(noham)² 2024-07-27 22:23:09 +02:00
parent a258f92208
commit 88852e274c

View File

@ -39,6 +39,7 @@ async def http_proxy(client_stream, client_address, _nextid=count(1).__next__):
CV_CLIENT_STREAM.set(client_stream)
client_ip = client_address[0]
log('client_address: ', client_address)
if client_ip not in ALLOWED_IPS:
log(f'Connection from {client_ip} is not allowed.')