15521: Fix truncated index response.
authorTom Clegg <tclegg@veritasgenetics.com>
Tue, 29 Oct 2019 14:18:40 +0000 (10:18 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Tue, 29 Oct 2019 14:18:40 +0000 (10:18 -0400)
commit142b8f261e7006faf1f1ad846d3355b278f5d921
tree9523fb77646dfcb0a0a09bd0f42aa1620c24fc5c
parentd8f53190b772815880da5c4dd9198d65b950a237
15521: Fix truncated index response.

The client (keep-balance) looks for a blank line at the end of the
index response as an assurance the response is not truncated.  If
headers have already been sent, http.Error("") writes a blank line --
so we were inadvertently assuring the client that truncated responses
were not truncated.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/keepstore/handlers.go