anchor.diff:  		when StreamID > LastStreamID ->
   	terminate(State, {connection_error, protocol_error,
   		'WINDOW_UPDATE frame received on a stream in idle state. (RFC7540 5.1)'});
  -frame(State0=#state{streams=Streams0}, {window_update, StreamID, Increment}) ->
  +frame(State0=#state{streams=Streams0, rst_lingering_streams=RstLingering},
  +		{window_update, StreamID, Increment}) ->
   	case lists:keyfind(StreamID, #stream.id, Streams0) of
   		#stream{local_window=StreamWindow} when StreamWindow + Increment > 16#7fffffff ->
   			stream_reset(State0, StreamID, {stream_error, flow_control_error,
  
positive.code: stream_linger(State=#state{lingering_streams=Lingering0}, StreamID) ->
  	Lingering = [StreamID|lists:sublist(Lingering0, 100 - 1)],
  	State#state{lingering_streams=Lingering}.
  
  stream_terminate(State0=#state{streams=Streams0, children=Children0}, StreamID, Reason) ->
  	case lists:keytake(StreamID, #stream.id, Streams0) of
  
negative.code: 			'The :authority pseudo-header is invalid. (RFC7540 8.1.2.3)')
  	end.
  
  stream_closed(State=#state{socket=Socket, transport=Transport}, StreamID, _) ->
  	Transport:send(Socket, cow_http2:rst_stream(StreamID, stream_closed)),
  	State.
  
  stream_malformed(State=#state{socket=Socket, transport=Transport}, StreamID, _) ->
  	Transport:send(Socket, cow_http2:rst_stream(StreamID, protocol_error)),
  	State.
  