armon/consul-api — pull request #9 by fugr (2014-11-24 03:13:31+00:00)
Title: resp.Body.Close()

functions call decodeBody() have this line"defer resp.Body.Close()",so resp.Body.Close() may exec twice.