Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 10:40:19 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257788 - head/usr.sbin/bsdconfig/share/media
Message-ID:  <201311071040.rA7AeJJu034978@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Thu Nov  7 10:40:19 2013
New Revision: 257788
URL: http://svnweb.freebsd.org/changeset/base/257788

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

Modified:
  head/usr.sbin/bsdconfig/share/media/http.subr

Modified: head/usr.sbin/bsdconfig/share/media/http.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/http.subr	Thu Nov  7 10:36:24 2013	(r257787)
+++ head/usr.sbin/bsdconfig/share/media/http.subr	Thu Nov  7 10:40:19 2013	(r257788)
@@ -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" |
 	(
 		#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311071040.rA7AeJJu034978>