Add some helpful debugging (showing the resolved host address).

This commit is contained in:
Devin Teske 2013-11-07 10:40:19 +00:00
parent e9bd9b3f19
commit ebee96b642

View File

@ -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" |
(
#