wisp-python 0.8.1__tar.gz → 0.8.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wisp_python-0.8.1/src/wisp_python.egg-info → wisp_python-0.8.2}/PKG-INFO +1 -1
- {wisp_python-0.8.1 → wisp_python-0.8.2}/pyproject.toml +1 -1
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/net.py +2 -1
- {wisp_python-0.8.1 → wisp_python-0.8.2/src/wisp_python.egg-info}/PKG-INFO +1 -1
- {wisp_python-0.8.1 → wisp_python-0.8.2}/LICENSE +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/LICENSE_third_party.md +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/README.md +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/setup.cfg +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/__init__.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/__init__.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/__main__.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/cli.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/connection.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/http.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/ratelimit.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/util.py +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/SOURCES.txt +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/dependency_links.txt +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/requires.txt +0 -0
- {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/top_level.txt +0 -0
|
@@ -47,7 +47,8 @@ def validate_ip(addr_str):
|
|
|
47
47
|
|
|
48
48
|
async def validate_hostname(host, port, stream_type):
|
|
49
49
|
if is_ip(host):
|
|
50
|
-
|
|
50
|
+
validate_ip(host)
|
|
51
|
+
return host
|
|
51
52
|
#don't do a dns lookup when we're on a proxy and using remote dns
|
|
52
53
|
elif proxy_url and proxy_dns:
|
|
53
54
|
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|