al">.</span><span class="identifier">is_done</span><span class="special">())</span>
    <span class="special">{</span>
        <span class="comment">// Read as much as we can. When we reach the end of the chunk, the chunk</span>
        <span class="comment">// body callback will make the read return with the end_of_chunk error.</span>
        <span class="identifier">read</span><span class="special">(</span><span class="identifier">stream</span><span class="special">,</span> <span class="identifier">buffer