anchor.diff:                                 socket = Socket} = ModData} = State) ->
       {continue, NewCbState} = httpd_response:handle_continuation(ModData#mod{entity_body = 
                                                                                   {continue, BodySoFar, CbState}}),
  -    activate_once(Socket, SockType),                         
  +    setopts(Socket, SockType, [{active, once}]),
       State#state{chunk = {continue, NewCbState}, mfa = {Module, Function, [ChunkSize, TotalChunk, {MaxBodySize, <<>>, 0, MaxHeaderSize}]}};
   
   handle_chunk(http_chunk = Module, decode_size = Function, 
  
positive.code:             NewState = handle_chunk(Module, Function, Args, State),
              {noreply, NewState};
  	NewMFA ->
  	    activate_once(Socket, SockType),
  	    case NewDataSize of
  		undefined ->
  		    {noreply, State#state{mfa = NewMFA}};
  
negative.code: 		   max_keep_alive_request = NrOfRequest,
  		   mfa                    = MFA,
                     chunk                   = chunk_start(MaxChunk)},
      setopts(Socket, SocketType, [binary, {packet, 0}, {active, once}]),
      NewState =  data_receive_counter(activate_request_timeout(State), httpd_util:lookup(ConfigDB, minimum_bytes_per_second, false)),
       gen_server:enter_loop(?MODULE, [], NewState).
  
  