anchor.diff:  	end.
   
   -spec next_request(any(), #http_req{}, #state{}) -> ok.
  -next_request(HandlerState, Req=#http_req{buffer=Buffer}, State) ->
  +next_request(HandlerState, Req=#http_req{connection=Conn, buffer=Buffer},
  +		State) ->
   	HandlerRes = handler_terminate(HandlerState, Req, State),
   	BodyRes = ensure_body_processed(Req),
   	RespRes = ensure_response(Req),
  -	case {HandlerRes, BodyRes, RespRes, State#state.connection} of
  +	case {HandlerRes, BodyRes, RespRes, Conn} of
   		{ok, ok, ok, keepalive} ->
   			?MODULE:parse_request(State#state{
   				buffer=Buffer, req_empty_lines=0});
  
positive.code: 	req_empty_lines = 0 :: integer(),
  	max_empty_lines :: integer(),
  	timeout :: timeout(),
  	connection = keepalive :: keepalive | close,
  	buffer = <<>> :: binary()
  }).
  
  
negative.code: header({http_header, _I, 'Connection', _R, Connection}, Req, State) ->
  	ConnAtom = connection_to_atom(Connection),
  	parse_header(Req#http_req{connection=ConnAtom,
  		headers=[{'Connection', Connection}|Req#http_req.headers]}, State);
  header({http_header, _I, Field, _R, Value}, Req, State) ->
  	Field2 = format_header(Field),
  	parse_header(Req#http_req{headers=[{Field2, Value}|Req#http_req.headers]},
  