mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Add some helpful debugging (showing the resolved host address).
This commit is contained in:
parent
e9bd9b3f19
commit
ebee96b642
1 changed files with 1 additions and 0 deletions
|
|
@ -595,6 +595,7 @@ f_media_get_http()
|
|||
|
||||
local url="$http_path/$file" rx
|
||||
f_dprintf "sending http request for: %s" "$url"
|
||||
f_dprintf "using nc to connect to: %s:%s" "$host" "$http_port"
|
||||
printf "GET %s HTTP/1.0\r\n\r\n" "$url" | nc -n "$host" "$http_port" |
|
||||
(
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue