anchor.diff:      
   %%     case (catch Module:Function([Data | Args])) of
       PROCESSED = (catch Module:Function([Data | Args])),
  -    NewDataSize = case State#state.bit_limit of
  +    NewDataSize = case State#state.byte_limit of
   		      undefined ->
   			  undefined;
   		      _ ->
  -			  State#state.data + bit_size(Data)
  +			  State#state.data + byte_size(Data)
   		  end,
       ?hdrt("data processed", [{processing_result, PROCESSED}]),
       case PROCESSED of
  
positive.code: 		headers,  %% #http_request_h{}
  		body,      %% binary()
  		data,      %% The total data received in bits, checked after 10s
  		bit_limit  %% Bit limit per second before kick out
  	       }).
  
  %%====================================================================
  
negative.code:     ?hdrt("activate request timeout", [{time, Time}]),    
      Ref = erlang:send_after(Time, self(), timeout),
      State#state{timer = Ref}.
  data_receive_counter(State, Byte_limit) ->
      case Byte_limit of
  	false ->
  	    State#state{data = 0};
  	Nr ->
  	    erlang:send_after(10000, self(), check_data),
  	    State#state{data = 0, byte_limit = Nr}
      end.
  cancel_request_timeout(#state{timer = undefined} = State) ->
      State;
  