anchor.diff:  -module(elli_http).
   -include("../include/elli.hrl").
   
  --export([start_link/3, accept/3, handle_request/2, chunk_loop/2,
  +-export([start_link/3, accept/3, handle_request/2, chunk_loop/1,
            split_args/1, parse_path/1]).
   
   -export([mk_req/7]). %% useful when testing.
  
positive.code: 
          {chunk, Data} ->
              send_chunk(Socket, Data),
              ?MODULE:chunk_loop(Socket, Callback);
          {chunk, Data, From} ->
              case send_chunk(Socket, Data) of
                  ok ->
  
negative.code:                 {error, closed} ->
                      From ! {self(), {error, closed}}
              end,
              ?MODULE:chunk_loop(Socket)
      after 10000 ->
              ?MODULE:chunk_loop(Socket)
      end.
  
  
  