Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正 listen_ip 为 IPv6 地址时 simple_http_server 格式化失败 #14004

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UjuiUjuMandan
Copy link

当 listen_ip 为 IPv6 地址,比如 ::1 时,simple_http_server 回报错误:

2024-01-21 05:48:21.953 - [ERROR] serve except:TypeError('not all arguments converted during string formatting')
2024-01-21 05:48:21.956 - [ERROR] Except stack:Traceback (most recent call last): File "/[redacted]/XX-Net/code/default/lib/noarch/simple_http_server.py", line 611, in serve_forever self.process_connect(sock, address) File "/[redacted]/XX-Net/code/default/lib/noarch/simple_http_server.py", line 628, in process_connect client_thread = threading.Thread(target=client_obj.handle, name="handle_undefined:%d" % address) ~~~~~~~~~~~~~~~^~~~~~~~~ TypeError: not all arguments converted during string formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant