[ARVADOS] created: 1.2.0-31-ge540fb278

Git user git at public.curoverse.com
Mon Sep 10 09:34:41 EDT 2018


        at  e540fb2781d3e4c481592bfe858d120d19713f36 (commit)


commit e540fb2781d3e4c481592bfe858d120d19713f36
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Mon Sep 10 09:34:29 2018 -0400

    Fix unclosed response body.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/lib/controller/proxy.go b/lib/controller/proxy.go
index 712071bef..a05f18d90 100644
--- a/lib/controller/proxy.go
+++ b/lib/controller/proxy.go
@@ -70,6 +70,7 @@ func (p *proxy) Do(w http.ResponseWriter, reqIn *http.Request, urlOut *url.URL,
 		httpserver.Error(w, err.Error(), http.StatusBadGateway)
 		return
 	}
+	defer resp.Body.Close()
 	for k, v := range resp.Header {
 		for _, v := range v {
 			w.Header().Add(k, v)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list