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.
Files changed (20) hide show
  1. {wisp_python-0.8.1/src/wisp_python.egg-info → wisp_python-0.8.2}/PKG-INFO +1 -1
  2. {wisp_python-0.8.1 → wisp_python-0.8.2}/pyproject.toml +1 -1
  3. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/net.py +2 -1
  4. {wisp_python-0.8.1 → wisp_python-0.8.2/src/wisp_python.egg-info}/PKG-INFO +1 -1
  5. {wisp_python-0.8.1 → wisp_python-0.8.2}/LICENSE +0 -0
  6. {wisp_python-0.8.1 → wisp_python-0.8.2}/LICENSE_third_party.md +0 -0
  7. {wisp_python-0.8.1 → wisp_python-0.8.2}/README.md +0 -0
  8. {wisp_python-0.8.1 → wisp_python-0.8.2}/setup.cfg +0 -0
  9. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/__init__.py +0 -0
  10. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/__init__.py +0 -0
  11. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/__main__.py +0 -0
  12. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/cli.py +0 -0
  13. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/connection.py +0 -0
  14. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/http.py +0 -0
  15. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/server/ratelimit.py +0 -0
  16. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp/util.py +0 -0
  17. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/SOURCES.txt +0 -0
  18. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/dependency_links.txt +0 -0
  19. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/requires.txt +0 -0
  20. {wisp_python-0.8.1 → wisp_python-0.8.2}/src/wisp_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wisp-python
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: An implementation of a Wisp proxy server in Python
5
5
  Author: ading2210
6
6
  Project-URL: Homepage, https://github.com/MercuryWorkshop/wisp-server-python
@@ -11,7 +11,7 @@ package-dir = {"" = "src"}
11
11
 
12
12
  [project]
13
13
  name = "wisp-python"
14
- version = "0.8.1"
14
+ version = "0.8.2"
15
15
  authors = [
16
16
  {name="ading2210"},
17
17
  ]
@@ -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
- return validate_ip(host)
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wisp-python
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: An implementation of a Wisp proxy server in Python
5
5
  Author: ading2210
6
6
  Project-URL: Homepage, https://github.com/MercuryWorkshop/wisp-server-python
File without changes
File without changes
File without changes