mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #493] WARN unknown address , request from #396
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#396
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zzsoszz on GitHub (Jul 17, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/493
使用config-prod这种非标准域名格式无法解析ip. 使用config-prod.com可以正常解析和返回页面。
Expected Behavior
期望可以config-prod可以解析成ip,并成功返回页面.
Current Behavior
$ curl http://config-prod:3000 -x 127.0.0.1:8888
curl: (52) Empty reply from server
Possible Solution
无
Context (Environment)
@HectorB-2020 commented on GitHub (Mar 21, 2024):
@zzsoszz & @snail007, hello!
I'm afraid we are facing the same issue but on Windows. Unfortunately this is not only a warning, traffic is not passed if such addresses are requested.
It turns out that proxy doesn't respect short hostnames in HTTP GET/POST even if they properly come from
/etc/hostsor explicitly added as a command line parameter. Other commands like ping are certainly able to use these hostnames.Can anybody tell me if there are plans to address this issue?
@snail007 commented on GitHub (Mar 21, 2024):
the domain must be contains one dot .