title: Curl_http_done: called premature
body: <p>I'm building a new service, and when I curl it I see a message Curl_http_done: called premature. I can't find any documentation on what it means and am wondering if my service is not conforming to some http spec?</p>
  
  <pre><code>➜  ~ git:(master) ✗ curl localhost:6764/health -vv
  *   Trying ::1...
  * TCP_NODELAY set
  * Connected to localhost (::1) port 6764 (#0)
  &gt; GET /health HTTP/1.1
  &gt; Host: localhost:6764
  &gt; User-Agent: curl/7.51.0
  &gt; Accept: */*
  &gt;
  &lt; HTTP/1.1 200 OK
  &lt; content-encoding: application/json
  &lt; content-length: 16
  &lt; connection: close
  &lt;
  {"status":"ok"}
  * Curl_http_done: called premature == 0
  * Closing connection 0
  </code></pre>