anchor.diff:  		_ ->
   			Child#child{input=IsFin2, in_buffer=Data2}
   	end,
  -	loop(replace_child(Child2, State));
  +	replace_child(Child2, State);
   %% General error, can't recover.
   handle_frame(State, {error, badprotocol}) ->
   	goaway(State, protocol_error),
  
positive.code: 		middlewares=Middlewares, env=Env, onrequest=OnRequest,
  		onresponse=OnResponse, peer=Peer, zdef=Zdef, zinf=Zinf}).
  
  loop(State=#state{parent=Parent, socket=Socket, transport=Transport,
  		buffer=Buffer, zinf=Zinf, children=Children}) ->
  	{OK, Closed, Error} = Transport:messages(),
  	Transport:setopts(Socket, [{active, once}]),
  	receive
  		{OK, Socket, Data} ->
  			Data2 = << Buffer/binary, Data/binary >>,
  			case cow_spdy:split(Data2) of
  				{true, Frame, Rest} ->
  					P = cow_spdy:parse(Frame, Zinf),
  					handle_frame(State#state{buffer=Rest}, P);
  				false ->
  					loop(State#state{buffer=Data2})
  			end;
  		{Closed, Socket} ->
  			terminate(State);
  		{Error, Socket, _Reason} ->
  
negative.code: handle_frame(State, {syn_stream, StreamID, _, _, true,
  		_, _, _, _, _, _, _}) ->
  	rst_stream(State, StreamID, protocol_error),
  	State;
  %% We do not support Associated-To-Stream-ID.
  handle_frame(State, {syn_stream, StreamID, AssocToStreamID,
  		_, _, _, _, _, _, _, _, _}) when AssocToStreamID =/= 0 ->
  	rst_stream(State, StreamID, internal_error),
  	State;
  %% SYN_STREAM.
  %%
  %% Erlang does not allow us to control the priority of processes
  