anchor.diff:  
           {chunk, Data} ->
               send_chunk(Socket, Data),
  -            ?MODULE:chunk_loop(Socket, Req);
  +            ?MODULE:chunk_loop(Socket, Callback);
           {chunk, Data, From} ->
               case send_chunk(Socket, Data) of
                   ok ->
  
positive.code:             send_response(Socket, 200, ResponseHeaders, <<"">>, Callback),
              Initial =:= <<"">> orelse send_chunk(Socket, Initial),
  
              start_chunk_loop(Socket, Req),
  
              t(request_end),
              Mod:handle_event(request_complete,
  
negative.code:                 {error, closed} ->
                      From ! {self(), {error, closed}}
              end,
              ?MODULE:chunk_loop(Socket, Callback)
      after 10000 ->
              ?MODULE:chunk_loop(Socket, Callback)
      end.
  
  
  